RVM 'not found' after successful usage and

2020-04-17 07:20发布

问题:

I installed RVM a few days ago, which worked perfectly. A few days later (now, after a few reboots I guess), it's like it's not installed, shell says rvm not found although I can see it all in my ~/.rvm folder, and there is also a scripts folder into that.

I tried rerunning the install script over it, to no result (said it upgraded something, no difference). I tried the command for reloading rvm into new shell sessions. I've also had a look at this Q&A, to no help.

What am I missing here?

(I'm on Ubuntu Natty)

回答1:

I would guess your PATH is not setup to include ~/.rvm or ~/.rvm/bin check if

echo $PATH 

includes it. If not you will have to add somthing like

 PATH=$PATH:~/.rvm/bin

to your ~/.bashrc



标签: ruby linux rvm