"already initialized constant" warnings
Closed this issue · 3 comments
mockdeep commented
When I execute any commands on heroku I get a couple of "already initialized constant" warnings from this plugin:
/home/fletch/.heroku/plugins/heroku-pg-extras/lib/heroku/client/heroku_postgresql_backups.rb:6: warning: already initialized constant Heroku::Client::HerokuPostgresqlApp::Version
/usr/local/heroku/lib/heroku/client/heroku_postgresql_backups.rb:3: warning: previous definition of Version was here
/home/fletch/.heroku/plugins/heroku-pg-extras/lib/heroku/command/pg_backups.rb:62: warning: already initialized constant Heroku::Command::Pg::MaybeAttachment
/usr/local/heroku/lib/heroku/command/pg_backups.rb:69: warning: previous definition of MaybeAttachment was here
msakrejda commented
Are you using the latest version? Try heroku plugins:update
. We moved some functionality into the main toolbelt, and unfortunately that means an older extras version with a newer toolbelt will give that warning.
mockdeep commented
Ah, I see. That did the trick. Thanks for the quick response!
msakrejda commented
No problem.