简体   繁体   中英

Ruby on Rails: Pushing to heroku - keys error

I have recently moved my app from a linux machine to windows, and I am trying to set it up with heroku again. There are problems with my keys, so I am just wanting to push the app up as a brand new app.

I do, git init , then git add . , then git commit -m "init" , and now I do heroku create .

I want to just push my folder up to the new app cedar, but everytime I run git push heroku master is tries to push to the old one, and an error flags as my keys don't match.

Anyone have any ideas? Thanks

Execute heroku auth:logout to logout, then heroku auth:login to login again.

To read full help message, try

heroku help
heroku auth

It seems that you're calling heroku apps:create wrongly? Take a look at the documentation here .

Also, the deployment documentation might be more useful for you if you already have a git repository setup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM