try to autodetect ruby-app or rails