Working in Nitrous.IO, my rails app was acting strange. So I checked and I was using rails version 0.9.5 instead of version 4.0.1! I decided to do a gem uninstall rails --version 0.9.5
. Everything is good, except it also removed the rails executable! How do I get that back? Seems like version 4.0.1 is there, but I can't run the rails
command. Should I just uninstall and reinstall rails?
UPDATE: Tried gem install rails
even though I already had rails 4.0.1 installed:
action@creativebox-45198:~$ gem install rails
Successfully installed rails-4.0.1
1 gem installed
action@creativebox-45198:~$ rails -v
-bash: rails: command not found