Newest ruby versions not supported (e.g., 2.6.3)

Asked by Austin Gatlin

Hello,

`rbenv install --list` does not include the newest versions of Ruby, e.g., 2.6.3. Can we update this package to include them?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu rbenv Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug. If the security and bug fixes are significant then the package will be updated sooner rather than later

Ubuntu is not a rolling release distribution and packages will be left in favour of resolving issues in others. This is especially true in the LTS releases where stability is champion

Revision history for this message
Austin Gatlin (aegatlin) said :
#2

It doesn't feel to me like it is a bug, given the package works fine as is. It's just that the package is useless for starting new Ruby projects with newer ruby versions. This results in confusion for the user. After excitedly installing the package, as I hoped it was the "Ubuntu approved" install, I 1) learned it's outdated, 2) uninstalled it, 3) installed rbenv as per usual, from source, etc.

The utility of the package is what I am questioning, since it will not be maintained in step with updated versions of Ruby. For older Ruby versions, it is unquestionably utilizable. But any new projects using new Ruby will have to go out of their way to remove this package and install rbenv from another source, which is very much less than ideal.

I respect what you said in your second paragraph, Andrew. This is pretty low priority, I suspect.

It's not a bug, per se, but if it's what you suggest I do, I will do it. I will wait for you to confirm before doing so.

(PS, this is my first interaction with Ubuntu Launchpad, I might not know certain processes, etc.)

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Manfred Hampl suggests this article as an answer to your question:
FAQ #3037: “no rolling release”.

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

If you look at https://launchpad.net/ubuntu/+source/ruby-defaults you can see, that ruby version 2.6.3 has not been packages for any Ubuntu release. So it is clear that rbenv cannot list it either.

If you want to have ruby 2.6.3, you have to install it from a foreign source.

Revision history for this message
Austin Gatlin (aegatlin) said :
#5

Thanks actionparsnip, that solved my question.