Список RVM - Внимание!PATH не настроен правильно - PullRequest
0 голосов
/ 20 мая 2018

Я знаю, что об этом уже много раз спрашивали, однако я пробовал много предложений, чтобы заставить мой ruby ​​работать, но пока ничего не получалось.

При запуске rvm list я получаю:

 Warning! PATH is not properly set up, '/Users/tom/.rvm/gems/ruby-2.4.1/bin' is not at first place.
         Usually this is caused by shell initialization files. Search for 'PATH=...' entries.
         You can also re-add RVM to your profile by running: 'rvm get stable --auto-dotfiles'.
         To fix it temporarily in this shell session run: 'rvm use ruby-2.4.1'.
         To ignore this error add rvm_silence_path_mismatch_check_flag=1 to your ~/.rvmrc file.

rvm rubies

   ruby-2.0.0-p648 [ x86_64 ]
   ruby-2.1.0 [ x86_64 ]
=* ruby-2.4.1 [ x86_64 ]

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

.bashrc:

  # Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$HOME/.rvm/bin:$PATH" # Add RVM to PATH for scripting

Ничего не связано с .bash_profile

1 Ответ

0 голосов
/ 20 мая 2018

Попробуйте это rvm reset Затем запустите: rvm version

Дайте мне знать, если это еще не решено Спасибо!

...