Uzyskiwanie „Ostrzeżenie! PATH nie jest poprawnie skonfigurowany ”podczas używania rvm 2.0.0 --default

Powyżej nie działa za pierwszym razem, działa po raz drugi.

Spróbuj ustawić wersję ruby ​​na 2.0.0 dla nowych okien powłoki.

Robić

$ rvm use 2.0.0 --default

daje

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

Potem robię to samo

$ rvm use 2.0.0 --default

teraz nie daje błędu, tj.

$ rvm use 2.0.0 --default
Using /home/durrantm/.rvm/gems/ruby-2.0.0-p247
durrantm.../durrantm$ 

ale nowe okna wciąż dają mi ruby ​​1.9.3, a nie 2.0.0

Mój.bashrc plik ma w nim:

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
[[ -s "/home/durrantm/.rvm/scripts/rvm" ]] && . "/home/durrantm/.rvm/scripts/rvm"

Mój .bash_profile ma:

source ~/.profile
case $- in *i*) . ~/.bashrc;; esac

Próbować

rvm get stable

wydaje się działać, ale na końcu wielu zielonych wydruków widać:

Could not update RVM, get some help at #rvm IRC channel at freenode servers.

Nowe okna terminalu zrvm list rubies pokazuje to:

$ 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 ]

# => - current
# =* - current && default
#  * - default

questionAnswers(14)

yourAnswerToTheQuestion