Sample Header Ad - 728x90

Is it safe to switch to the brew ruby system-wide?

0 votes
1 answer
338 views
Is it safe to switch to the homebrew ruby version system-wide? Won't it break anything? The brew version is 3.0.3; the system version is 2.6.8p205. E.g., by adding the following lines to .zshrc:
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"
export PKG_CONFIG_PATH="/opt/homebrew/opt/ruby/lib/pkgconfig"
Asked by Yurij (101 rep)
Jan 22, 2022, 01:33 PM
Last activity: Jan 22, 2022, 07:17 PM