Reputation: 15
Using Rails Composer (http://railsapps.github.com/rails-composer/) I created a new app, but I'm unable to run rails in the app newly created app directory, even though rails can be run everywhere else.
user@UBUNTU:~$ rails
Usage:
rails new APP_PATH [options] ...
user@UBUNTU:~$ cd myapp/
user@UBUNTU:~/myapp$ rails
The program 'rails' can be found in the following packages: ...
Using Ubuntu 12.10 and rvm
Upvotes: 0
Views: 106
Reputation: 11436
Are you running RVM? If so is there an .rvmrc file that is tied to a gemset? If that's the case there may not be a rails gem in that gemset.
Type rvm gemset list
to see what gemsets have been created.
Upvotes: 1