tkymtk's blog

Ruby on Rails及びその周辺について調べたこと。Do whatever you want to do at your own pace.

Heroku: webインターフェースからアプリ名を変更したあとに、pushするときに気をつけること。

エラー

Herokuのダッシュボードで、アプリの名前を変更してから、git push herokuしたらエラーがでた。

!  No such app as foo-bar-1315.

fatal: The remote end hung up unexpectedly

解決法

$ git remote set-url heroku git@heroku.com:{my-project-name}.git

で解決。{my-project-name}には自分のアプリの名前を。

リンク

参考

間違いがあれば、ご指摘下さると幸いです。