David Gautier
David Gautier

Reputation: 21

Upgrading to cedar-14 when deploying via the heroku

I tried to migrate my app to cedar-14 stack, but when i do:

heroku stack:set cedar-14

i ve got the message: stack:set` is not a heroku command

What can i do please?

Thanks

Upvotes: 1

Views: 712

Answers (2)

chaitanya
chaitanya

Reputation: 1974

Please use following command to move from cedar to cedar-14

heroku stack:migrate cedar-14 -a <app name>

Upvotes: 2

Damien MATHIEU
Damien MATHIEU

Reputation: 32629

This error indicates your version of the heroku toolbelt doesn't know this command. You should update to the latest version.

You can check the version you have installed with the heroku version command:

heroku version
heroku-toolbelt/3.42.20 (x86_64-darwin10.8.0) ruby/1.9.3
heroku-cli/4.26.1-bf7a4d8 (amd64-darwin) go1.5.1

The heroku update command should update you to the latest version. If that doesn't work, try reinstalling it from scratch: https://toolbelt.heroku.com/

You also need to make sure you aren't using the gem version of the toolbelt, which has been deprecated for several years. Uninstall it with the gem uninstall heroku command.

Upvotes: 0

Related Questions