-bash: rails: command not found
17,376
Solution 1
As Mattherick suggests, try bundle exec rails c
Solution 2
You can try enable the option "run command as a login shell" in your terminal profile.
Author by
Santhosh
Any fool can write code that a computer can understand. Good programmers write code that humans can understand
Updated on June 04, 2022Comments
-
Santhosh almost 2 years
I have installed
RVM
and andRuby 1.9.3
. But when I dorails c
, I get this error-bash: rails: command not found
I had done
bundle install
from myRails
app, and it was successful. But when i dogem list
, I get this*** LOCAL GEMS *** bundler (1.3.5) rubygems-update (2.1.3) rvm (1.11.3.8)
What could be wrong?