を指定したので、私は次のような問題に遭遇した:はあなたのRubyのバージョンは2.3.1ですが、あなたのGemfileは2.3.1(同じバージョン)
Your Ruby version is 2.3.1, but your Gemfile specified 2.3.1
私は私のアプリを展開するときHerokuのは言います。このエラーは、現在のルビーバージョンとGemfileのルビーバージョンとの不一致がある場合にのみ発生します。
あなたは、任意のコードhere
を見ることができます。ここビルド出力です:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.3.1
remote: -----> Installing dependencies using bundler 1.11.2
remote: Ruby version change detected. Clearing bundler cache.
remote: Old: ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-linux]
remote: New: ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: Your Ruby version is 2.3.1, but your Gemfile specified 2.3.1
remote: Bundler Output: Warning: the running version of Bundler is older than the version that created the lockfile. We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
remote: Your Ruby version is 2.3.1, but your Gemfile specified 2.3.1
remote: !
remote: ! Failed to install gems via Bundler.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy....
remote:
remote: ! Push rejected to chatisto.
remote:
このエラーの原因は何?