ruby2.0.0p648/rails4.0.5で作ったものをherokuにアップするのにつまづいています。
gitでHerokuにpushすると以下のエラーが出ます。
remote: !
remote: ! An error occurred while installing ruby-2.0.0-p648
remote: !
remote: ! Heroku recommends you use the latest supported Ruby version listed here:
remote: ! https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
remote: !
remote: ! For more information on syntax for declaring a Ruby version see:
remote: ! https://devcenter.heroku.com/articles/ruby-versions
remote: !
remote: !
remote: ! Debug InformationCommand: 'set -o pipefail; curl -L --fail --retry 5 --retry-delay 1 --connect-timeout 3 --max-time 30 https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/heroku-16/ruby-2.0.0-p648.tgz -s -o - | tar zxf - ' failed unexpectedly:
remote: !
remote: ! gzip: stdin: unexpected end of file
remote: ! tar: Child returned status 1
remote: ! tar: Error is not recoverable: exiting now
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed**
しかし、Available runtimeをみると、2.0.0p648はインストールできるようなことが書いてあります。
The only patch version of 2.0.0 available on the platform is p648 if you are not able to install 2.0.0 make sure you are using that patch version in your Gemfile.lock.
【参考】
https://devcenter.heroku.com/articles/ruby-support#ruby-versions
また、参考情報として、Gemfileには、このように書いています。
ruby '2.0.0'
Gemfile.lockにはこのように書いています。
RUBY VERSION ruby 2.0.0p648
2.0.0p648のバージョンでアップする方法をご存知でしたら教えてください。
よろしくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。