views:

495

answers:

4

I can't seem to get heroku to db:push, even though I have installed taps. It doesnt seem to believe me. I also checked and found a folder here: /Library/Ruby/Gems/1.8/gems/taps-0.2.23/

UM4345s-MacBook-Pro:photosite $ sudo gem install taps
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
installed taps-0.2.23 6 gems installed
Installing ri documentation for
rack-1.1.0... Installing ri
documentation for sinatra-0.9.2...
Installing ri documentation for
thor-0.9.9... Installing ri
documentation for rest-client-1.2.0...
Installing ri documentation for
sequel-3.0.0... Installing ri
documentation for taps-0.2.23...
Installing RDoc documentation for
rack-1.1.0... Installing RDoc
documentation for sinatra-0.9.2...
Installing RDoc documentation for
thor-0.9.9... Installing RDoc
documentation for rest-client-1.2.0...
Installing RDoc documentation for
sequel-3.0.0... Installing RDoc
documentation for taps-0.2.23...
UM4345s-MacBook-Pro:photosite $heroku db:push
Install the Taps gem
to use db commands. On most systems
this will be: sudo gem install taps
UM4345s-MacBook-Pro:photosite $ sudo gem install taps
Password: Successfully installed
taps-0.2.23 1 gem installed Installing
ri documentation for taps-0.2.23...
Installing RDoc documentation for
taps-0.2.23...
UM4345s-MacBook-Pro:photosite$ $heroku db:push
Install the Taps gem
to use db commands. On most systems
this will be: sudo gem install taps

+1  A: 

Did you find a solution? I have the same problem and Im waiting for an answer from their support.

sNiCKY
upgrade the gem. its fixed in the new version
udit
+1  A: 

This 0.2.23 version is the newest as far as I know... and still not working

sNiCKY
When I do a gem list | grep herokuIt says my heroku version is :heroku (1.6.3, 1.5.3)So the latest version is 1.6.3 then.
udit
+1  A: 

Is the 'gem' for the current user the same as the run that's run from sudo? I've had a problem with that when using REE or ruby installed from macports. Quick check to compare:

which gem
sudo which gem

gem list | grep tap
sudo gem list | grep tap

It might be worth a try to purge both the taps and heroku gem and reinstall them.

Jerry Cheung
+3  A: 

This can be fixed by upgrading your heroku gem with

gem update heroku

You might need a sudo as well depending on your environment.

David Dollar
Worked for me. Any heroku strangeness starts with this :)
Rob S.