ruby: make 3.3 the default

According to https://www.ruby-lang.org/en/downloads/ this is the
'stable' release
This commit is contained in:
Arnout Engelen 2024-06-13 14:58:07 +02:00
parent 051f920625
commit 5411928737
No known key found for this signature in database
GPG Key ID: 061107B0F74A6DAA
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
## Using Ruby {#using-ruby}
Several versions of Ruby interpreters are available on Nix, as well as over 250 gems and many applications written in Ruby. The attribute `ruby` refers to the default Ruby interpreter, which is currently MRI 3.1. It's also possible to refer to specific versions, e.g. `ruby_3_y`, `jruby`, or `mruby`.
Several versions of Ruby interpreters are available on Nix, as well as over 250 gems and many applications written in Ruby. The attribute `ruby` refers to the default Ruby interpreter, which is currently MRI 3.3. It's also possible to refer to specific versions, e.g. `ruby_3_y`, `jruby`, or `mruby`.
In the Nixpkgs tree, Ruby packages can be found throughout, depending on what they do, and are called from the main package set. Ruby gems, however are separate sets, and there's one default set for each interpreter (currently MRI only).

View File

@ -17600,8 +17600,8 @@ with pkgs;
ruby_3_2
ruby_3_3;
ruby = ruby_3_1;
rubyPackages = rubyPackages_3_1;
ruby = ruby_3_3;
rubyPackages = rubyPackages_3_3;
rubyPackages_3_1 = recurseIntoAttrs ruby_3_1.gems;
rubyPackages_3_2 = recurseIntoAttrs ruby_3_2.gems;