zabumba
zabumba

Reputation: 12402

Migrating from a Shared Database to Heroku Postgres /

ON MAC OS X 1.7.2

I tried following the instructions https://devcenter.heroku.com/articles/migrating-from-shared-database-to-heroku-postgres

So I tried running the command on my-app:

$ heroku addons:add heroku-postgresql:dev -a my-app
-----> Adding heroku-postgresql:dev to test-biowatts... failed
 !     You're running an outdated version of the Heroku gem/toolbelt that cannot perform the requested action. Please update your client and try again.

So I tried to update Heroku

$ heroku update
 !   update is not a heroku command. See 'heroku help'.

Where

$ heroku version
heroku-gem/2.4.0

QUESTION UPDATE 1 - Heroku update now gives a different message

$ heroku update
 !    `heroku update` is only available from Heroku Toolbelt.
 !    Download and install from https://toolbelt.heroku.com

so I downloaded and installed toolbelt but the heroku update still gives the same message

QUESTION UPDATE 2 - Removed heroku installed TOOLBELT - RESOLVED

sudo rm -rf /usr/local/heroku 
sudo rm -rf /usr/bin/heroku
gem uninstall heroku

then installed https://toolbelt.heroku.com/

Restarted terminal

AND IT WORKED!

Cheers,

joel

Upvotes: 3

Views: 361

Answers (1)

Atsuhiro Teshima
Atsuhiro Teshima

Reputation: 1508

Have you tried gem update heroku?

If you are using Mac OSX mountain lion. Maybe you should better use heroku toolbelt. I had almost same issue, and it fixed after I installed Heroku toolbelt.

Upvotes: 1

Related Questions