繁体   English   中英

Heroku RoR项目部署:安装ruby-1.9.3-p551时发生错误

[英]Heroku RoR project deployment : An error occurred while installing ruby-1.9.3-p551

我正在尝试使用Ruby-1.9.3-p551版本部署Ruby on Rails项目,但是在安装Ruby 1.9.3版本时失败,并给出以下错误:

 !     An error occurred while installing ruby-1.9.3-p551
 !     
 !     Heroku recommends you use the latest supported Ruby version listed here:
 !     https://devcenter.heroku.com/articles/ruby-support#supported-runtimes
 !     
 !     For more information on syntax for declaring a Ruby version see:
 !     https://devcenter.heroku.com/articles/ruby-versions

具体来说,您必须告诉heroku使用cedar-14构建ubuntu服务器,然后确保gemfile反映在gemfile.lock

有关此的详细信息... Gemfile中的错误

该页面包含有关您所需内容的详细信息... https://devcenter.heroku.com/articles/ruby-support#supported-runtimes

Ruby 1.9.1在很多年前就已经停产,并且Heroku不再支持它。
您应该升级红宝石版本。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM