user1548619
user1548619

Reputation: 15

Created app with rails composer but cannot launch rails in the app directory

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

Answers (1)

Richard Brown
Richard Brown

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

Related Questions