安装出现 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/opt in PATH, mode 040777
这是一个权限警告问题,注意他的PATH 是 /usr/local/opt ,网上好多答案的PATH /usr/local/bin
解决办法:
sudo chmod go-w /usr/local/opt
sudo chmod 775 /usr/local
网友评论