0

当我使用“heroku run ...”执行任何操作时,我收到以下错误:

/Users/tony/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb:48:in `<class:GemNotFoundException>': undefined method `errors' for nil:NilClass (NoMethodError)
from /Users/tony/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb:40:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/tony/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1235:in `<top (required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /Users/tony/.rvm/gems/ruby-1.9.2-p290/bin/heroku:9:in `<main>'

它之前工作正常。

有什么帮助吗?

4

1 回答 1

0

我重新安装了 ruby​​gems,下载了 .zip 并执行了 ruby​​ setup.rb,一切都已修复。

于 2012-07-26T11:29:05.267 回答