Ruby on rails Heroku上的多个帐户

Ruby on rails Heroku上的多个帐户,ruby-on-rails,heroku,deployment,Ruby On Rails,Heroku,Deployment,我有一个rails项目,我想在Heroku上部署它。我正在使用链接https://github.com/ddollar/heroku-accounts用于管理heroku上的多个帐户。但每当我运行命令heroku accounts:set personal时,它就会显示这样的错误 warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777 ! Heroku client internal error

我有一个rails项目,我想在Heroku上部署它。我正在使用链接
https://github.com/ddollar/heroku-accounts
用于管理heroku上的多个帐户。但每当我运行命令heroku accounts:set personal时,它就会显示这样的错误

warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777  
 !    Heroku client internal error.  
 !    Search for help at: https://help.heroku.com  
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new  

    Error:       undefined method `each' for nil:NilClass (NoMethodError)  
    Backtrace:   /Users/sumitkalra1984/.heroku/plugins/heroku-  accounts/lib/accounts/heroku/command/accounts.rb:111:in `set'  
                 /Users/sumitkalra1984/.heroku/client/lib/heroku/command.rb:213:in `run'
                 /Users/sumitkalra1984/.heroku/client/lib/heroku/cli.rb:28:in `start'
                 /usr/bin/heroku:24:in `<main>'

    Command:     heroku accounts:set personal  
    Plugins:     heroku-accounts  
    Version:     heroku-toolbelt/3.0.0 (x86_64-darwin10.8.0) ruby/1.9.3  
警告:路径中存在不安全的世界可写目录/usr/local/bin,模式040777
!    Heroku客户端内部错误。
!    在以下位置搜索帮助:https://help.heroku.com  
!    或在以下位置报告错误:https://github.com/heroku/heroku/issues/new  
错误:nil:NilClass(NoMethodError)的未定义方法“each”
回溯:/Users/sumitkalra1984/.heroku/plugins/heroku-accounts/lib/accounts/heroku/command/accounts.rb:111:in'set'
/Users/sumitkalra1984/.heroku/client/lib/heroku/command.rb:213:in'run'
/Users/sumitkalra1984/.heroku/client/lib/heroku/cli.rb:28:in'start'
/usr/bin/heroku:24:in`'
命令:heroku帐户:设置个人帐户
插件:heroku帐户
版本:heroku toolbelt/3.0.0(x86_64-darwin10.8.0)ruby/1.9.3

我打赌你找到了解决问题的方法,但以防万一(对于像我这样的人来说),你只需要初始化一个git回购。如果您在没有git repo的目录中尝试此命令,将出现此错误

干杯