Talking homebrew use own version ruby@2.0

I have High Sierra Beta 6 installed on my Mac Pro.

The beta version of high-sierra has Ruby 2.2 and brew doctorcomplains about it since it was tested only with ruby ​​2.0.

I can install ruby ​​2.0 with homebrew, is there any way to tell homebrew to actually use this version instead of the ruby ​​version that comes with the OS?

+4
source share
3 answers

No, it is not. High Sierra is still in beta, so its normal support is not fully supported by Homebrew.

0
source

. , . 2 .bash_profile

export HOMEBREW_DEVELOPER="yes"
export HOMEBREW_RUBY_PATH="/Users/USERNAME/.rbenv/shims/ruby"
0

Just updated to High Sierra. After the upgrade, I experienced the same Ruby warnings. I have done this:

1. brew doctor -- warnings shown
2. brew update
3. brew doctor -- no more warnings
0
source

Source: https://habr.com/ru/post/1683736/


All Articles