我有一个要在 Heroku 上部署的 rails 项目。我正在使用该链接 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