Above does not work the first time, works the 2nd time.
Try installing ruby โโversion 2.0.0 for any new shell windows.
Performance
$ rvm use 2.0.0
gives
Warning! PATH is not properly set up, '/home/durrantm/.rvm/gems/ruby-1.9.3-p125/ bin' is not at first place, usually this is caused by shell initialization files - check them for ' PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --au to-dotfiles', to fix temporarily in this shell session run: 'rvm use ruby-1.9.3-p125' . Using /home/durrantm/.rvm/gems/ruby-2.0.0-p247
Then do the same
$ rvm use 2.0.0
now does not give an error, i.e.
$ rvm use 2.0.0 --default Using /home/durrantm/.rvm/gems/ruby-2.0.0-p247 durrantm.../durrantm$
but new windows still give me ruby โโ1.9.3 and not 2.0.0
In my .bashrc there is:
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting [[ -s "/home/durrantm/.rvm/scripts/rvm" ]] && . "/home/durrantm/.rvm/scripts/rvm"
My .bash_profile has:
source ~/.profile case $- in *i*) . ~/.bashrc;; esac
Attempt
rvm get stable
seems to work, but in the end a lot of green output shows:
Could not update RVM, get some help at
New terminal windows with rvm list rubies show this:
$ rvm list rubies Warning! PATH is not properly set up, '/home/durrantm/.rvm/gems/ruby-1.9.3-p125/bin' is not at first place, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use ruby-1.9.3-p125'. rvm rubies => ruby-1.9.3-p125 [ x86_64 ] ruby-1.9.3-p194 [ x86_64 ] * ruby-2.0.0-p247 [ x86_64 ]
Michael Durrant Aug 16 '13 at 15:15 2013-08-16 15:15
source share