Rack アプリを heroku にデプロイしようとしていますが、バンドルのステップで失敗しています:
-----> Fetching custom git buildpack... done
-----> Ruby/Rack app detected
-----> Using RUBY_VERSION: ruby-1.9.3-p0
-----> Installing dependencies using Bundler version 1.1.rc.7
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
/tmp/build_158s9o0ec0gdk/Gemfile:2:in `evaluate': undefined method `ruby' for #<Bundler::Dsl:0x00000001c7c418> (NoMethodError)
(...)
/app/bin/bundle:23:in `load'
/app/bin/bundle:23:in `<main>'
There was an error in your Gemfile, and Bundler cannot continue.
!
! Failed to install gems via Bundler.
!
! Heroku push rejected, failed to compile Ruby/rack app
失敗はundefined method 'ruby' for #<Bundler::Dsl:0x00000001c7c418> (NoMethodError)
これは私のGemfileから来ています
source 'https://rubygems.org'
ruby '2.0.0'
そのメソッドがバージョン 1.2 まで Bundler に追加されておらず、heroku がバージョン 1.1.rc.7 を使用しているように見えるという事実が原因であると思います。
バンドラーの heroku バージョンをアップグレードする方法がわかりません。私はすでに Cedar スタックにいます。