Obteniendo "¡Advertencia! PATH no se ha configurado correctamente "al realizar rvm use 2.0.0 --default

Lo anterior no funciona la primera vez, funciona la segunda vez.

Intente establecer la versión ruby ​​en 2.0.0 para cualquier nueva ventana de shell.

Obra

$ rvm use 2.0.0 --default

da

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

Entonces haciendo lo mismo

$ rvm use 2.0.0 --default

ahora no da ningún error, es decir,

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

Pero las nuevas ventanas todavía me dan ruby ​​1.9.3, no 2.0.0.

Mi.bashrc archivo tiene en él:

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

Mi .bash_profile tiene:

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

Molesto

rvm get stable

Parece funcionar pero al final de una gran cantidad de espectáculos verdes:

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

Una nueva ventana de terminal conrvm list rubies muestra esto:

$ 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

Respuestas a la pregunta(14)

Su respuesta a la pregunta