我有一个使用 Ruby 1.8.7-p352 的旧 Rails 2.3.8 应用程序,我一直在尝试迁移到 Heroku 的雪松堆栈。开发中一切正常,部署顺利,但是当我尝试访问该站点时出现应用程序崩溃错误。
2012-11-27T19:16:08+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -p 58772 -e production`
2012-11-27T19:16:09+00:00 app[web.1]: from /app/vendor/ruby-1.8.7/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:256:in `to_spec'
2012-11-27T19:16:09+00:00 app[web.1]: from /app/vendor/ruby-1.8.7/lib/ruby/site_ruby/1.8/rubygems.rb:1231:in `gem'
2012-11-27T19:16:09+00:00 app[web.1]: /app/vendor/ruby-1.8.7/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:247:in `to_specs': Could not find bundler (>= 0) amongst [] (Gem::LoadError)
2012-11-27T19:16:09+00:00 app[web.1]: from /app/vendor/bundle/1.8/bin/bundle:22
2012-11-27T19:16:10+00:00 heroku[web.1]: Process exited with status 1
2012-11-27T19:16:10+00:00 heroku[web.1]: State changed from starting to crashed
这是因为不再支持 1.8.7,还是有修复?
编辑:添加我的 gemfile 以响应评论。
source :gemcutter
ruby "1.8.7"
gem "rails", "2.3.8"
gem "bundler", "1.2.2"
gem "thin"
gem "pg"