2012-06-21 154 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