Skip to content

Failed to get plugins list from herocutter #3

Open
mataki opened this Issue Apr 12, 2011 · 0 comments

1 participant

@mataki
mataki commented Apr 12, 2011

This error is occured since heroku gem used okjson.

$ heroku plugins:list -r                           

*** REMOTE PLUGINS ***

/Users/mat_aki/.heroku/plugins/heroku_herocutter/lib/heroku_herocutter.rb:84:in `list': uninitialized constant Heroku::Command::Plugins::JSON (NameError)
        from /Users/mat_aki/.rvm/gems/ruby-1.8.7-p334/gems/heroku-1.20.1/lib/heroku/command.rb:51:in `send'
        from /Users/mat_aki/.rvm/gems/ruby-1.8.7-p334/gems/heroku-1.20.1/lib/heroku/command.rb:51:in `run_internal'
        from /Users/mat_aki/.rvm/gems/ruby-1.8.7-p334/gems/heroku-1.20.1/lib/heroku/command.rb:23:in `run'
        from /Users/mat_aki/.rvm/gems/ruby-1.8.7-p334/gems/heroku-1.20.1/bin/heroku:13
        from /Users/mat_aki/.rvm/gems/ruby-1.8.7-p334/bin/heroku:19:in `load'
        from /Users/mat_aki/.rvm/gems/ruby-1.8.7-p334/bin/heroku:19

I fix it to add this line to 'heroku_herocutter.rb'.

require "json"

but it require "JSON" gem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.