1

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'

乾杯!

4

1 に答える 1

0

Heroku ビルドパックで rack-jekyll を使用していると仮定しています。Herokuがクラッシュをログに記録するという同じ問題がありました。ここで説明されているように、Sinatra サーバーを作成することで解決しました: Jekyll on Heroku

于 2012-10-11T07:06:40.747 に答える