ruby-on-railsherokutaps

taps issue with heroku db:push


first of all, I'm using RVM... and I don't know much about managing gem lists.

So, I tried to push my db to heroku using heroku db:push, and I get the following error:

$ sudo heroku db:push
Taps Load Error: no such file to load -- taps/operation
You may need to install or update the taps gem to use db commands.
On most systems this will be:

sudo gem install taps

I installed taps (sudo gem install taps, now at taps 0.3.23), and I have the latest heroku. No idea why this is happening ... and I can't seem to find much info on it online either. I tried running sudo heroku db:push, but that didn't change anything at all.

I also tried to install the gem locally (?) but that gave me a gem permission error.

Any ideas on what could be happening here?


Solution

  • If you're using RVM, you should never use sudo.

    Which ruby do you have RVM set to use at the time when the push is failing? You should just need the heroku and taps gems install for that ruby (again, no sudo). Use "gem list heroku" and "gem list taps" to check.