Reputation: 468
However rails -v
command gives me rails isn't installed,i found rails gem in this path /bundle/ruby/1.9.1/gems
Upvotes: 0
Views: 786
Reputation: 7405
Sounds quite obvious that you should then add /bundle/ruby/1.9.1/gems
to your PATH for it to be available as "global" command. This can be done with something like
cd /bundle/ruby/1.9.1/gems/rails-3.0.20/bin/rails
export PATH=$PATH:.
Upvotes: 1