/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/rbconfig.rb:229: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
/usr/local/bin 文件被赋予了777权限、不安全;去除该警告的方法为
sudo chmod go-w /usr/local/bin
sudo chmod 775 /usr/local