postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.9k stars 252 forks source link

Installing with HomeBrew 2.5.1 broken #376

Closed chrt00 closed 3 years ago

chrt00 commented 3 years ago

Looks like you can no longer run brew with sudo.

$ ruby-install ruby-2.4
>>> Installing ruby 2.4.10 into /Users/---/.rubies/ruby-2.4.10 ...
>>> Installing dependencies for ruby 2.4.10 ...
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
!!! Installing dependencies failed!
postmodern commented 3 years ago

Could you specify the version of ruby-install you are using and the output of this command /usr/bin/stat -f %Su "$(command -v brew)".

rb83 commented 3 years ago

@postmodern see PR #396.

postmodern commented 3 years ago

396 has been merged which should fix the homebrew errors. Will release 0.8.2 sometime this week.

postmodern commented 3 years ago

0.8.2 has been tagged. Now we just have to wait for homebrew to pull in the new formula.

rb83 commented 3 years ago

Cool, thanks for your work @postmodern