warning: Insecure world writable dir when I run a ruby or gem command

后端 未结 5 766
孤独总比滥情好
孤独总比滥情好 2020-12-04 12:21

Not sure why I\'m getting this, but I just installed RVM, the new Ruby 1.9, and reinstalled a bunch of gems, and I get this

/Users/johnsmith/.rvm/rubies/ruby-1.9.1-

5条回答
  •  独厮守ぢ
    2020-12-04 12:38

    In some cases (like mine), the stack goes deeper than opt/local/bin. In that case, use

    sudo chmod go-w opt/local/*/bin usr/local/*/bin opt/local/bin usr/local/bin
    

    In any case, the error prompts where the insecure world is.

提交回复
热议问题