【发布时间】:2012-10-19 03:44:21
【问题描述】:
我可以通过 ... 将 Rails 应用程序推送到 Heroku
git push heroku
但是当我尝试迁移时...
heroku run rake db:migrate
我明白了……
Running rake db:migrate attached to terminal... failed
! You do not have access to the app my-app-name-1234.
编辑:我的 .git/config 包含...
[remote "heroku"]
url = git@heroku.com:young-mist-1198.git
fetch = +refs/heads/*:refs/remotes/heroku/*
有什么想法吗? Heroku 方面的情况看起来很合理,似乎如果我的 ssh 密钥不好,它甚至不会让我推动。
【问题讨论】:
标签: ruby-on-rails-3 heroku rake dbmigrate