更新ruby时,报错:

Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
Error running 'requirements_osx_brew_update_system ruby-2.4.1',
please read /Users/MACBOOK/.rvm/log/1519807045_ruby-2.4.1/update_system.log
Requirements installation failed with status: 1.

 

解决如下:

1、更新brew

brew update

ps:如果提示:Error: /usr/local must be writable!   点进去查看解决步骤

 

2、更新完,再次执行你需要的ruby更新指令

比如:

rvm install 2.4

 

相关文章:

  • 2022-12-23
  • 2021-08-22
  • 2021-07-13
  • 2021-06-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-07-29
猜你喜欢
  • 2021-08-13
  • 2022-01-07
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-06-15
相关资源
相似解决方案