about summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2023-11-26 23:34:32 +0100
committerajs124 <git@ajs124.de>2024-01-02 15:30:06 +0100
commit02ad3159b00875b702a92b64c7f231d184f68c84 (patch)
tree66d644dbbeecf11b9847bd43c122a11a12575233 /doc/languages-frameworks
parent2c5a053a9bc4cee1cd31a39cccf525b4fc56ea01 (diff)
downloadnixlib-02ad3159b00875b702a92b64c7f231d184f68c84.tar
nixlib-02ad3159b00875b702a92b64c7f231d184f68c84.tar.gz
nixlib-02ad3159b00875b702a92b64c7f231d184f68c84.tar.bz2
nixlib-02ad3159b00875b702a92b64c7f231d184f68c84.tar.lz
nixlib-02ad3159b00875b702a92b64c7f231d184f68c84.tar.xz
nixlib-02ad3159b00875b702a92b64c7f231d184f68c84.tar.zst
nixlib-02ad3159b00875b702a92b64c7f231d184f68c84.zip
ruby_2_7: remove
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r--doc/languages-frameworks/ruby.section.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/ruby.section.md b/doc/languages-frameworks/ruby.section.md
index 920c84eee689..749a78e95e8e 100644
--- a/doc/languages-frameworks/ruby.section.md
+++ b/doc/languages-frameworks/ruby.section.md
@@ -2,13 +2,13 @@
 
 ## 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 2.6. It's also possible to refer to specific versions, e.g. `ruby_2_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 2.6. 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).
 
 There are two main approaches for using Ruby with gems. One is to use a specifically locked `Gemfile` for an application that has very strict dependencies. The other is to depend on the common gems, which we'll explain further down, and rely on them being updated regularly.
 
-The interpreters have common attributes, namely `gems`, and `withPackages`. So you can refer to `ruby.gems.nokogiri`, or `ruby_2_7.gems.nokogiri` to get the Nokogiri gem already compiled and ready to use.
+The interpreters have common attributes, namely `gems`, and `withPackages`. So you can refer to `ruby.gems.nokogiri`, or `ruby_3_2.gems.nokogiri` to get the Nokogiri gem already compiled and ready to use.
 
 Since not all gems have executables like `nokogiri`, it's usually more convenient to use the `withPackages` function like this: `ruby.withPackages (p: with p; [ nokogiri ])`. This will also make sure that the Ruby in your environment will be able to find the gem and it can be used in your Ruby code (for example via `ruby` or `irb` executables) via `require "nokogiri"` as usual.