[英]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.