当我尝试使用命令heroku restart --app skinnymint-staging
给出错误如下:
lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2159:in `method_missing': undefined method `this' for #<Gem::Specification:0x3fd6490129e4 heroku-3.42.15> (NoMethodError)
from /Users/Topform/.rvm/rubies/ruby-2.1.4/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:1057:in `find_active_stub_by_path'
from /Users/Topform/.rvm/rubies/ruby-2.1.4/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:64:in `require'
from /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/gems/heroku-3.42.15/bin/heroku:11:in `<top (required)>'
from /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bin/heroku:23:in `load'
from /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bin/heroku:23:in `<main>'
from /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bin/ruby_executable_hooks:15:in `eval'
from /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bin/ruby_executable_hooks:15:in `<main>'
请帮我摆脱上述错误并成功执行命令?
答案 0 :(得分:0)
我已通过运行命令修复了该问题;
heroku update
解决方案由Heroku技术团队提供,当时我在那里提出了一张票。