简体   繁体   English

Heroku Ruby支持的版本不在rbenv中

[英]Heroku Ruby supported versions not in rbenv

My app is currently using the gem ruby '1.9.3'. 我的应用程序当前使用宝石红宝石“ 1.9.3”。 Heroku won't let me update the app. Heroku不允许我更新应用程序。

They list the following as supported Ruby versions: 他们列出了以下受支持的Ruby版本:

  • 2.4.5 : patchlevel 335, Rubygems: 2.6.14.3 2.4.5:补丁程序级别335,Rubygems:2.6.14.3

  • 2.5.3: patchlevel 105, Rubygems: 2.7.6 2.5.3:补丁程序级别105,Rubygems:2.7.6

  • 2.6.1: patchlevel 33, Rubygems: 3.0.1 2.6.1:补丁程序级别33,Rubygems:3.0.1

I'm using Rbenv to manage ruby versions. 我正在使用Rbenv来管理ruby版本。 If I run $ rbenv install --list, none of those (2.4.5, 2.5.3, 2.6.1) are in the listed versions available. 如果我运行$ rbenv install --list,则列出的版本中没有(2.4.5、2.5.3、2.6.1)。

What can I do? 我能做什么?

rbenv versions shows the list of versions already installed on your computer. rbenv versions显示计算机上已安装的版本列表。

Run rbenv install 2.4.5 to install it. 运行rbenv install 2.4.5进行安装。

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

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