私はBREW設定を得るのに助けが必要です。私は醸造とルビーの再インストールを試みましたが、私は物事を悪化させているように感じます。Brew - そのようなファイルを読み込むことができません - rubygems.rb(LoadError)
いくつかの情報: OS XエルキャピタンV.
$ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15.5.0]
$ which -a ruby
/usr/local/bin/ruby
/usr/bin/ruby
私は更新しよう10.11.5醸造:
$ brew update
<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
from <internal:gem_prelude>:1:in `<compiled>'
Error: Git must be installed and in your PATH!
私がインストールしようとルビー:
$ rvm install ruby
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.11/x86_64/ruby-2.3.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
<internal:gem_prelude>:1:in `require': cannot load such file -- rubygems.rb (LoadError)
from <internal:gem_prelude>:1:in `<compiled>'
Installing requirements for osx.
Updating system.......
Error running 'requirements_osx_brew_update_system ruby-2.3.0',
showing last 15 lines of /Users/Ben/.rvm/log/1467344813_ruby-2.3.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.
私は試しました:https://stackoverflow.com/a/24789161/4459422
この問題を解決するために必要なその他の情報を教えてください。よろしくお願いします。
に更新されたバージョン2.0を使用していました。 – Nirupa