您好,因为我在MacOS上安装了Rails,当我在终端上运行命令时,我不断收到警告。这是什么东西?
→ rake db:migrate
/Users/mycomputername/.rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.22/lib/bundler.rb:209: warning: Insecure world writable dir /usr/local in PATH, mode 040777
/Users/mycomputername/.rvm/gems/ruby-1.9.2-p136@global/gems/bundler-1.0.22/lib/bundler.rb:209: warning: Insecure world writable dir /usr/local in PATH, mode 040777
答案 0 :(得分:2)
sudo chmod -R o-w /usr/local
这将删除/ usr / local的所有子目录的“其他”写入权限。