【发布时间】:2019-03-08 17:00:25
【问题描述】:
我一直在尝试通过 Rails Bridge Installfest http://installfest.railsbridge.org/installfest/deploy_a_rails_app 上的 Installfest 步骤,但无法克服我遇到的这个错误。
我在部署 Rails 应用程序的第 2.5 步,并且正在使用带有 High Sierra 的 Mac。在进入步骤 2.5 之前,我没有遇到任何问题。当我执行“git push heroku master”时,我收到一条错误消息:
remote: Command: '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-18/ruby-2.3.7.tgz -s -o - | tar zxf - ' failed on attempt 1 of 3.
remote: Command: '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-18/ruby-2.3.7.tgz -s -o - | tar zxf - ' failed on attempt 2 of 3.
remote:
remote: !
remote: ! An error occurred while installing ruby-2.3.7
remote: !
remote: ! This version of Ruby is not available on Heroku-18. The minimum supported version
remote: ! of Ruby on the Heroku-18 stack can found at:
remote: !
remote: ! [link]
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
安装 ruby-2.3.7 时出错
但是,当我执行 Ruby -V 时,我得到了
ruby 2.3.7p456 (2018-03-28 revision 63024) [x86_64-darwin17], the version it says I need.
如果有人可以提供帮助或提供建议,我将不胜感激!
【问题讨论】:
-
你可以在这里找到解决方案stackoverflow.com/questions/53354444/…
标签: ruby-on-rails ruby git heroku