Ass*_*mer 6 deployment ruby-on-rails upgrade heroku ruby-on-rails-4
repo at:git@github.com:assafshomer/sample_app.git
Heroku日志也不提供任何信息(至少,我看不到任何有用的信息)
2013-05-25T22:11:26.070468+00:00 heroku[web.1]: Process exited with
status 0
2013-05-25T22:11:26.083572+00:00 heroku[web.1]: State changed from
starting to crashed
2013-05-25T22:13:09.372294+00:00 heroku[run.4121]: State changed from up
to complete
2013-05-25T22:13:09.357146+00:00 heroku[run.4121]: Process exited with
status 1
2013-05-25T22:13:50.829887+00:00 heroku[router]: at=error code=H10
desc="App crashed" method=GET path=/ host=devsampleapp.herokuapp.com
fwd="93.172.16.63" dyno= connect= service= status=503 bytes=
Run Code Online (Sandbox Code Playgroud)
rails控制台也没出现:
2013-05-26T06:41:34.942569+00:00 heroku[api]: Starting process with command `bin/rails console` by assafshomer@gmail.com
2013-05-26T06:41:38.312107+00:00 heroku[run.5325]: Awaiting client
2013-05-26T06:41:38.339816+00:00 heroku[run.5325]: Starting process with command `bin/rails console`
2013-05-26T06:41:39.112396+00:00 heroku[run.5325]: Client connection closed. Sending SIGHUP to all processes
2013-05-26T06:41:40.329832+00:00 heroku[run.5325]: Process exited with status 0
2013-05-26T06:41:40.357047+00:00 heroku[run.5325]: State changed from starting to complete
Run Code Online (Sandbox Code Playgroud)
我提交了一张Heroku的支持票,但这只会在最早的星期二进行,而且我很想让这个"升级到rails4"已经工作了,所以,任何帮助解决这个谜团的人都会非常感激.
很明显,重现的最好方法是克隆repo并部署到heroku :)
谢谢!!
Assaf Shomer(gmail的assafshomer)
小智 15
在rails4中bin/rails
,新添加或从不同位置(例如)移动了几个负责启动阶段的文件(bin/rake
和).bin/bundle
script/rails
似乎在您的应用程序中缺少它们.奇怪的是它确实适用于你的本地机器,但不适用于heroku - 但我尝试并添加了它们.它似乎工作.
您只需运行即可创建它们rake rails:update:bin
.
归档时间: |
|
查看次数: |
3684 次 |
最近记录: |