heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 381 forks source link

"Unable to load plugin heroku-taps" every time I use the `heroku` toolbelt. #2015

Open DiegoSalazar opened 7 years ago

DiegoSalazar commented 7 years ago

I get this error whenever I use the heroku command.

$ heroku version

 !    Unable to load plugin heroku-taps.
 !    Search for help at: https://help.heroku.com
 !    Or report a bug at: https://github.com/heroku/heroku/issues/new

    Error:       cannot load such file -- heroku/command/db (LoadError)
    Command:     heroku version
    Plugins:     heroku-pg-extras
                 heroku-taps

    Version:     heroku-toolbelt/3.43.3 (x86_64-darwin14) ruby/2.2.5
    Error ID:    b8d71a79a6814bc3808f17da1924c056

    More information in /Users/diego/.heroku/error.log

Updating heroku-taps... done
heroku-toolbelt/3.43.3 (x86_64-darwin14) ruby/2.2.5
heroku-cli/5.2.41-7b040f4 (darwin-amd64) go1.6.2
=== Installed Plugins
heroku-pg-extras
heroku-pg-extras@1.0.7
heroku-taps

I can't find any info on fixing this, I've looked on the heroku devcenter and on stackoverflow. I understand it can't find heroku/command/db.

So I tried installing it, perhaps my new version of ruby doesn't have it:

gem install taps
gem install db

But I still get the same error when any heroku command. Any ideas?

trimble commented 7 years ago

db:push and db:pull are deprecated...which leads to issues with heroku-taps.

See the comments here for a decent explanation and some workarounds: https://github.com/ricardochimal/taps/issues/92#issuecomment-11996909

Let us know if that helps or if you've found another solution. If this issue has been overcome by time and events, can we close it?