Получение «Предупреждение! PATH не настроен должным образом »при использовании rvm 2.0.0 --default

Выше не работает первый раз, работает второй раз.

Попробуйте установить версию ruby 2.0.0 для любой новой оболочки.

дела

$ rvm use 2.0.0 --default

дает

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

Затем делать то же самое

$ rvm use 2.0.0 --default

сейчас не дает ошибок, т.е.

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

но новые окна все еще дают мне ruby 1.9.3, а не 2.0.0

мой.bashrc файл имеет в нем:

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

Мой .bash_profile имеет:

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

Попытка

rvm get stable

кажется, работает, но в конце много зеленых выводов показывает:

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

Новый терминал с окнамиrvm list rubies показывает это:

$ 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

Ответы на вопрос(14)

Ваш ответ на вопрос