It just worked after hours of frustration. I am disappointed jfeust did not give the gem tag that worked for it.
I have a pg database, so:
$rvm requirements
(install the dependencies and libraries before they cause you problems, and you cannot say why)
$rvm install 1.9.2-p318
$gem install heroku -v '2.2.8' --no-ri --no-rdoc
$gem install taps pg --no-ri --no-rdoc`
for recording my taps (0.3.24) and pg (0.14.1)
$rvm use 1.9.2-p318
This is what worked for me.
$~/.rvm/gems/ruby-1.9.2-p318/gems/heroku-2.2.8/bin/heroku db:push
source
share