从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仍然说瘦不见了?