Heroku db: push does not work. Says he needs cranes installed even after the cranes were installed

I can not get the db: push hero, although I installed taps. I donโ€™t seem to believe him. I also checked and found the folder here: /Library/Ruby/Gems/1.8/gems/taps-0.2.23/

UM4345s-MacBook-Pro: $ sudo gem install taps photoshoot
Password:
Successfully installed rack-1.1.0
Successfully installed Sinatra-0.9.2
Successfully installed thor-0.9.9
Successfully installed
rest-client-1.2.0 Successfully
installed sequel-3.0.0 successfully
taps installed 0.2.23 6 gems installed
Install ri documentation for
rack-1.1.0 ... Install ri
documentation for sinatra-0.9.2 ...
Install ri documentation for
thor-0.9.9 ... Install ri
documentation for rest-client-1.2.0 ...
Install ri documentation for
continued-3.0.0 ... Installing ri
documentation for bends-0.2.23 ...
Install RDoc documentation for
rack-1.1.0 ... Install RDoc
documentation for sinatra-0.9.2 ...
Install RDoc documentation for
thor-0.9.9 ... Install RDoc
documentation for rest-client-1.2.0 ...
Install RDoc documentation for
continued-3.0.0 ... Installing RDoc
documentation for bends-0.2.23 ...
UM4345s-MacBook-Pro: $ heroku db: push photo shoot
Set the tap label
to use db commands. In most systems
it will be: sudo gem install taps
UM4345s-MacBook-Pro: $ sudo gem install taps photoshoot
Password: successfully set
bends-0.2.23 1 installed stone Installation
ri for taps-0.2.23 ...
Install RDoc documentation for
cranes-0.2.23 ...
UM4345s-MacBook-Pro: photoshoot $ $ heroku db: push
Set the tap label
to use db commands. In most systems
it will be: sudo gem install taps

+4
source share
3 answers

This can be fixed by updating the heroโ€™s gem with

gem update heroku 

You may need sudo, depending on your environment.

+3
source

Is the "gem" for the current user the same as the start running with sudo? I had a problem with this when using REE or ruby โ€‹โ€‹installed from macports. Quick check for comparison:

 which gem sudo which gem gem list | grep tap sudo gem list | grep tap 

It might be worth trying to clear both the taps and the hero and reinstall them.

+2
source

Do you use RVM? If so, it is easy to use the wrong gemset and not know it.

0
source

All Articles