I have just created a new install of Ubuntu 8.10, and have proceeded
install all of the necessary packages for Ruby on Rails. I installed
gems, and rails, but when i run rails -v, i get the following error:
[email protected]:~# rails -v
-bash: rails: command not found
any guidance would be greatly appreciated
find / -name rails
Is it installed in /usr/local/ ?
do you have /usr/local/bin/ in your path?
Is rails installed?
Did you install the gems under a user ? maybe you should have done
sudo gem install rails
Just like on a mac if you use gem install on a none privileged user it
will install the gems in .gem in the users home directory… And most
likely you do not have that directory in your path…