2012-06-21 111 views
1

我正在尝试将一个jekyll应用程序部署到heroku ...它在本地运行,没有任何问题。将jekyll部署到heroku时出错?

这里的Heroku的日志

2012-06-21T18:02:26+00:00 heroku[web.1]: State changed from crashed to created 
2012-06-21T18:02:26+00:00 heroku[web.1]: State changed from created to starting 
2012-06-21T18:02:28+00:00 heroku[web.1]: Starting process with command `jekyll --server 37139` 
2012-06-21T18:02:29+00:00 app[web.1]: bash: jekyll: command not found 
2012-06-21T18:02:30+00:00 heroku[web.1]: Process exited with status 127 
2012-06-21T18:02:30+00:00 heroku[web.1]: State changed from starting to crashed 
2012-06-21T18:02:31+00:00 heroku[router]: Error H10 (App crashed) -> GET furious-dusk-3604.herokuapp.com/ dyno= queue= wait= service= status=503 bytes= 
2012-06-21T18:02:32+00:00 heroku[router]: Error H10 (App crashed) -> GET furious-dusk-3604.herokuapp.com/favicon.ico dyno= queue= wait= service= status=503 bytes= 
2012-06-21T18:02:36+00:00 heroku[router]: Error H16 (Redirect to herokuapp.com) -> GET furious-dusk-3604.herokuapp.com/ dyno= queue= wait= service= status=301 bytes= 

线

2012-06-21T18:02:29+00:00 app[web.1]: bash: jekyll: command not found 

引起了我的注意,但我真的不知道有什么可以在这里是问题。在我的Gemfile中,我确实指定了

gem 'jekyll' 

干杯!

+0

您是否生成'Gemfile.lock'并推送它? – mipadi

回答

0

我假设你在Heroku buildpack中使用rack-jekyll。我遇到了同样的问题,Heroku记录了崩溃。我通过创建一个Sinatra服务器来解决它,如下所述:Jekyll on Heroku