I installed RVM from scratch following the installation guide on the official website. I installed Rails, created a dummy app and everything worked fine.
I shut off my m
Here is another possibility. This happened to me. Everything was working fine and sudo'ed into root. I left the terminal open and returned a couple of days later.
rails would not work. Just like you said it was there in the gems. Turns out that I just needed to exit out of the root user and go back to my regular user and rails was fine.