2017-04-18 11 views
2

Ruby 2.4.0をインストールすることができません。RVMを使ってMac OSにRuby 2.4.0をインストールするには

  • RVMのバージョン1.29.1
  • Rubygemsのバージョンである私が使ってRubyの2.4.0をインストールしようとしている2.6.11

です:私は取得しています

rvm install ruby-2.4.0 

を次のエラー:

Searching for binary rubies, this might take some time. 
No binary rubies available for: osx/10.11/x86_64/ruby-2.4.0. 
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. 
Checking requirements for osx_brew. 
Installing requirements for osx_brew. 
Updating system........... 
Error running 'requirements_osx_brew_update_system ruby-2.4.0', 
showing last 15 lines of /Users/bbc-admin/.rvm/log/1492510247_ruby-2.4.0/update_system.log 
    https://github.com/Homebrew/homebrew/wiki/Common-Issues 
and make sure `brew update` works before continuing.' 
++ rvm_pretty_print stderr 
++ case "${rvm_pretty_print_flag:=auto}" in 
++ case "${TERM:-dumb}" in 
++ case "$1" in 
++ [[ -t 2 ]] 
++ return 1 
++ printf %b 'Failed to update Homebrew, follow instructions here: 
    https://github.com/Homebrew/homebrew/wiki/Common-Issues 
and make sure `brew update` works before continuing.\n' 
Failed to update Homebrew, follow instructions here: 
    https://github.com/Homebrew/homebrew/wiki/Common-Issues 
and make sure `brew update` works before continuing. 
++ return 1 
Requirements installation failed with status: 1. 

答えて

5

Homebrewを更新する必要があります。 brew updateを試してから、rvm install ruby-2.4.0コマンドを再試行してください。

これをコメントとして追加しましたが、担当者が足りませんでした。あなたがどのように乗っているか教えてください。

+0

はこの..このエラーを得た試してみました: 'エラー:次のファイルをローカルの変更をマージによって上書きされます: \tライブラリ/式/ libimobiledevice.rb 、変更をコミットするか、あなたの前にそれらを隠してください。マージすることができます。 中止 エラー:実行中にエラーが発生しました:git pull -q origin refs/heads/master:refs/remotes/origin/master' –

+0

[link](https://github.com/Homebrew/legacy-homebrew/issues)を確認してください。/11448)。あなたの問題を解決するかもしれません。 –

+0

あなたのエラーの点では、ファイルを上書きしないために 'git stash'と' brew update'を実行する必要があります。 –

関連する問題