【发布时间】:2014-07-16 20:49:14
【问题描述】:
当我尝试将我的应用部署到 heroku 时,我收到以下响应
我有一个带有'web: bundle exec unicorn -p $PORT -c ./config/unicorn.rb' 的 Procfile
我正在使用独角兽
hangman git:(master) ✗ git push heroku master
Initializing repository, done.
Counting objects: 252, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (168/168), done.
Writing objects: 100% (252/252), 375.50 KiB | 0 bytes/s, done.
Total 252 (delta 73), reused 217 (delta 53)
Push rejected, no Cedar-supported app detected
To git@heroku.com:calm-taiga-4375.git
[remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:calm-taiga-4375.git'
【问题讨论】:
-
我查看了建议的链接,但它们都无法解决我的问题。这就是我发布它的原因
-
heroku logs的日志显示了什么?你确实有Gemfile和Gemfile.lock,对吗?您使用的是自定义 buildpack 吗? -
对我来说
no app detected意味着您没有提交rails项目中的所有文件。
标签: ruby-on-rails ruby git heroku github