First, I have searched many questions on here that are related and tried several solutions, but I am not having any luck. Preface: I am VERY new to Ubuntu and Ruby, though I have much C++ experience. I am running a virtual machine in Windows 7 to use Ubuntu 11.10. I am working on a larger project as a home contractor, and I AM using RVM. After several days of working on the project fine, I decided to shut down Ubuntu instead of just suspend its virtual machine. Now, when I use "rails s" (which started my server fine all week) it says
The program 'rails' is currently not installed. You can install it by typing:
sudo apt-get install rails
I am really hesitant to use sudo apt-get because of other answers I have read on here. I think I need to add something to .bashrc but so far I haven't had any luck. Thank you very much!
UPDATE It turns out the .rvmrc was removed from the repo by someone else and it didn't apparently matter until I rebooted, so what I ultimately had to do was rvm use 1.9.2 --default (to change RVM back to my correct version) and then, in my project root folder, rvm --create --rvmrc 1.9.2@myprojectnamehere followed by another bundle install. No idea if this will help someone else but I hope so