0

I installed rvm according to the instructions from the official website. Then I installed two ruby versions While rvm was visible to bash, ruby was not.

enter image description here

I was browsing the web for a solution and I found the following command: enter image description here

After this, bash was able to see ruby. I can't understand how did this happen. From my perspective, the command was absolutely useless as I just installed the latest rvm version.

2
  • Did you restart your bash session after installing RVM?
    – MattDMo
    Jan 19, 2014 at 20:01
  • Indeed, in the meantime I executed '~/.bashrc'. I assume that was the real cause. Cheers.
    – bsky
    Jan 19, 2014 at 22:09

1 Answer 1

0

From your second screen shot you may noticed that rvm add RVM path to /home/octavian/.bashrc . So bash will know about it. try

grep -i rvm /home/octavian/.bashrc

Same for sh (/home/octavian/.shrc)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .