Heroku推轨失败

时间:2015-07-31 11:41:37

标签: ruby-on-rails ruby git heroku

我试图在Rails

上部署我的heroku项目

输入git push heroku master

它显示了几个错误

To https://git.heroku.com/calm-eyrie-9110.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/calm-eyrie-9110.git'

这是 heroku日志文件

2015-07-31T11:14:21.836043+00:00 heroku[api]: Enable Logplex by fifiteen82726@gmail.com
2015-07-31T11:14:21.836043+00:00 heroku[api]: Release v2 created by fifiteen82726@gmail.com
2015-07-31T11:18:33.591682+00:00 heroku[slug-compiler]: Slug compilation started
2015-07-31T11:18:33.591700+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2015-07-31T11:18:36.230286+00:00 heroku[api]: Starting process with command `rake db:migrate` by fifiteen82726@gmail.com
2015-07-31T11:18:37.615262+00:00 heroku[run.1263]: Awaiting client
2015-07-31T11:18:38.022092+00:00 heroku[run.1263]: Starting process with command `rake db:migrate`
2015-07-31T11:18:39.701049+00:00 heroku[run.1263]: State changed from up to complete
2015-07-31T11:18:39.682796+00:00 heroku[run.1263]: Process exited with status 127
2015-07-31T11:18:37.953510+00:00 heroku[run.1263]: State changed from starting to up
2015-07-31T11:19:37.203128+00:00 heroku[api]: Starting process with command `rake db:migrate` by fifiteen82726@gmail.com
2015-07-31T11:19:38.558590+00:00 heroku[run.1215]: Awaiting client
2015-07-31T11:19:38.861407+00:00 heroku[run.1215]: State changed from starting to up
2015-07-31T11:19:39.548239+00:00 heroku[run.1215]: Starting process with command `rake db:migrate`
2015-07-31T11:19:41.328893+00:00 heroku[run.1215]: Process exited with status 127
2015-07-31T11:19:41.344630+00:00 heroku[run.1215]: State changed from up to complete
2015-07-31T11:20:03.675067+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=calm-eyrie-9110.herokuapp.com request_id=50f8547f-8689-4e5f-820f-119ec103cdfc fwd="39.9.89.74" dyno= connect= service= status=502 bytes=
2015-07-31T11:20:05.239531+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=calm-eyrie-9110.herokuapp.com request_id=5e982b82-ea28-46c1-a4c5-43659ba95c3b fwd="39.9.89.74" dyno= connect= service= status=502 bytes=
2015-07-31T11:20:32.622268+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/" host=calm-eyrie-9110.herokuapp.com request_id=89166026-99d3-418d-bbd5-cbd34bdd42bd fwd="39.9.89.74" dyno= connect= service= status=502 bytes=
2015-07-31T11:20:33.858666+00:00 heroku[router]: at=info code=H81 desc="Blank app" method=GET path="/favicon.ico" host=calm-eyrie-9110.herokuapp.com request_id=f7f49762-8f60-4f5a-bcc9-47e891ac9e8e fwd="39.9.89.74" dyno= connect= service= status=502 bytes=
2015-07-31T11:24:40.615566+00:00 heroku[slug-compiler]: Slug compilation started
2015-07-31T11:24:40.615585+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2015-07-31T11:27:57.418841+00:00 heroku[slug-compiler]: Slug compilation started
2015-07-31T11:27:57.418857+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app
2015-07-31T11:34:37.977133+00:00 heroku[slug-compiler]: Slug compilation started
2015-07-31T11:34:37.977153+00:00 heroku[slug-compiler]: Slug compilation failed: failed to compile Ruby app

解决方案

检查此答案Rails 4 + bootstrap set up assets

虽然它没有使用一般方法,但它通过直接包含bootstrap来解决我的问题。

也许有人有正确的答案?

0 个答案:

没有答案