I use ubuntu 11.10 and I have installed rvm and have installed ruby 1.9.3. My system has by default ruby 1.9.1. Hence instead of pointing to the ruby installed by rvm, my system points to the default ruby. How can I change this behaviour?
I use ubuntu 11.10 and I have installed rvm and have installed ruby 1.9.3
Share
I’ll bet that you haven’t configured your path correctly. Try
Ive got
before
If that isnt the case for you, then you can add this little script to your .bashrc
I do this because sometimes I want to use system ruby and sometimes I want to use rvm rubies.
If you want to use rvm all the time you can just uncomment the last line, or you can just run
in a shell session.