[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ruby without RVM - what to do if the version I want is missing?
From: |
Andreas Enge |
Subject: |
Re: Ruby without RVM - what to do if the version I want is missing? |
Date: |
Fri, 14 Jun 2024 19:36:07 +0200 |
Hello Dan,
I know very little about Ruby either, except that updates seem to go
relatively smoothly compared to other modern languages. Adding a new
version is quite trivial, here is one:
(define-public ruby-3.3
(package
(inherit ruby-3.2)
(version "3.3.3")
(source
(origin
(method url-fetch)
(uri (string-append "http://cache.ruby-lang.org/pub/ruby/"
(version-major+minor version)
"/ruby-" version ".tar.xz"))
(sha256
(base32
"07pwf3zkf7idl95agfjbv2lvamcp0spp0znqp9arb71ri19rkh43"))))))
I have sent this patch, see
https://issues.guix.gnu.org/71559
An interesting question would be whether all the packages that still depend
on ruby@3.1 can use ruby@3.2 or ruby@3.3 instead.
And whether we still need ruby@2.6 in addition to ruby@2.7; no package
depends on the former.
Andreas