0

从http://mwmanning.com/2011/11/29/Run-Your-Jekyll-Site-On-Heroku.html上的教程开始工作。当我尝试推送到 heroku 时,我在输出中收到“构建失败”消息。

Heroku 日志显示

2013-01-30T05:29:54+00:00 heroku[slugc]: Slug compilation started
2013-01-30T05:31:36+00:00 heroku[slugc]: Slug compilation failed: failed to compile Ruby/rack app
2013-01-30T05:31:38+00:00 heroku[web.1]: State changed from crashed to starting
2013-01-30T05:31:51+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -p 14276 -e $RACK_ENV`
2013-01-30T05:31:53+00:00 app[web.1]: bundler: command not found: thin
2013-01-30T05:31:53+00:00 app[web.1]: Install missing gem executables with `bundle install`
2013-01-30T05:31:54+00:00 heroku[web.1]: Process exited with status 1272013-01-30T05:31:54+00:00 heroku[web.1]: State changed from starting to crashed

Gemfile 和 Gemfile.lock 都显示thin 已安装。

source :rubygems

gem 'jekyll'
gem 'rdiscount'
gem 'rack-jekyll'
gem 'thin'
gem 'RedCloth'

命令bundle exec thin start在本地工作,并bundle show thin显示 Thin 是专门为当前 gemset 安装的。

我不明白为什么heroku仍然说瘦不见了?

4

2 回答 2

1

对我来说,当地人bundle update解决了这个问题。

于 2013-05-07T07:30:26.983 回答
0

抱歉,不能直接回答。但是这种方法对我有用。

http://chriscontinanza.com/2011/06/15/Jekyll-to-heroku.html

于 2013-01-30T06:02:30.457 回答