Skip to content

Instantly share code, notes, and snippets.

@mghaught
Created April 12, 2011 22:48
Show Gist options
  • Save mghaught/916620 to your computer and use it in GitHub Desktop.
Save mghaught/916620 to your computer and use it in GitHub Desktop.
MartyMPBS-3:outcampaign.org marty$ heroku addons --app outcampaign
bundles:single
custom_domains:basic
exceptional:basic
newrelic:bronze
pgbackups:daily
shared-database:5mb
ssl:piggyback
MartyMPBS-3:outcampaign.org marty$ heroku plugins:install git://github.com/nzoschke/pgbackups-automate.git
pgbackups-automate installed
MartyMPBS-3:outcampaign.org marty$ heroku addons:add pgbackups:daily --app outcampaign
Adding pgbackups:daily to outcampaign... FAILED
! Add-on already installed
MartyMPBS-3:outcampaign.org marty$ heroku pgbackups:automate DATABASE_URL --app outcampaign
/Users/marty/.heroku/plugins/pgbackups-automate/init.rb:7:in `get_user': uninitialized constant PGBackups::Client::JSON (NameError)
from /Users/marty/.heroku/plugins/pgbackups-automate/init.rb:43:in `user'
from /Users/marty/.heroku/plugins/pgbackups-automate/init.rb:51:in `automatic_plan?'
from /Users/marty/.heroku/plugins/pgbackups-automate/init.rb:55:in `automatic_summary'
from /Users/marty/.heroku/plugins/pgbackups-automate/init.rb:100:in `automate'
from /Users/marty/Developer/.rvm/gems/ruby-1.9.2-p180/gems/heroku-1.20.1/lib/heroku/command.rb:51:in `run_internal'
from /Users/marty/Developer/.rvm/gems/ruby-1.9.2-p180/gems/heroku-1.20.1/lib/heroku/command.rb:23:in `run'
from /Users/marty/Developer/.rvm/gems/ruby-1.9.2-p180/gems/heroku-1.20.1/bin/heroku:13:in `<top (required)>'
from /Users/marty/Developer/.rvm/gems/ruby-1.9.2-p180/bin/heroku:19:in `load'
from /Users/marty/Developer/.rvm/gems/ruby-1.9.2-p180/bin/heroku:19:in `<main>'
@mghaught
Copy link
Author

Nope, there's still an outstanding ticket with Heroku on this. I'd suggest you open a ticket to see if you can get an answer from them. If you do, please post here. :)

@RogerPodacter
Copy link

I solved it by uninstalling and reinstalling the pgbackups-automate plugin (using heroku plugins:uninstall and heroku plugins:install). The new version of the plugin uses the same JSON library as the heroku gem.

@mghaught
Copy link
Author

mghaught commented Apr 25, 2011 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment