Using RVM on Ubuntu 12.04 to use Rails. The program 'rails' is currently not installed

后端 未结 3 2014
刺人心
刺人心 2021-01-30 14:42

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

3条回答
  •  粉色の甜心
    2021-01-30 15:01

    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.

提交回复
热议问题