From 28c482d94a8aac3c558f57e7725eedc67d2b5267 Mon Sep 17 00:00:00 2001 From: Alan Hodgson Date: Wed, 29 May 2024 07:35:24 -0700 Subject: [PATCH] Upgrade to Ruby 3.1.6 --- CHANGELOG.md | 1 + README.md | 16 ++++++++-------- image/{ruby-3.1.5.sh => ruby-3.1.6.sh} | 0 3 files changed, 9 insertions(+), 8 deletions(-) rename image/{ruby-3.1.5.sh => ruby-3.1.6.sh} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index c9f032c4..189e0c33 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## not released * Removed Ruby 3.0 (EOL: 2024-03-31) + * Upgraded to Ruby 3.1.6 ## 3.0.5 (release date: 2024-05-18) * Upgraded to Phusion Passenger 6.0.22 (from 6.0.21). diff --git a/README.md b/README.md index 89bde227..81778aeb 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ Basics (learn more at [baseimage-docker](http://phusion.github.io/baseimage-dock Language support: - * Ruby 3.1.5, 3.2.4, 3.3.1 and JRuby 9.3.14.0 and 9.4.6.0. + * Ruby 3.1.6, 3.2.4, 3.3.1 and JRuby 9.3.14.0 and 9.4.6.0. * RVM is used to manage Ruby versions. [Why RVM?](#why_rvm) * 3.3.1 is configured as the default. * JRuby is installed from source, but we register an APT entry for it. @@ -447,8 +447,8 @@ We use [RVM](https://rvm.io/) to install and to manage Ruby interpreters. Becaus The default Ruby (what the `/usr/bin/ruby` command executes) is the latest Ruby version that you've chosen to install. You can use RVM select a different version as default. ```dockerfile -# Ruby 3.1.5 -RUN bash -lc 'rvm --default use ruby-3.1.5' +# Ruby 3.1.6 +RUN bash -lc 'rvm --default use ruby-3.1.6' # Ruby 3.2.4 RUN bash -lc 'rvm --default use ruby-3.2.4' # Ruby 3.3.1 @@ -467,16 +467,16 @@ Learn more: [RVM: Setting the default Ruby](https://rvm.io/rubies/default). You can run any command with a specific Ruby version by prefixing it with `rvm-exec `. For example: ```bash -$ rvm-exec 3.1.5 ruby -v -Using /usr/local/rvm/gems/ruby-3.1.5 -ruby 3.1.5p252 (2024-04-23 revision 1945f8dc0e) [x86_64-linux] +$ rvm-exec 3.1.6 ruby -v +Using /usr/local/rvm/gems/ruby-3.1.6 +ruby 3.1.6p260 (2024-05-29 revision a777087be6) [x86_64-linux] ``` More examples, but with Bundler instead: ```bash -# This runs 'bundle install' using Ruby 3.1.5 -rvm-exec 3.1.5 bundle install +# This runs 'bundle install' using Ruby 3.1.6 +rvm-exec 3.1.6 bundle install ``` diff --git a/image/ruby-3.1.5.sh b/image/ruby-3.1.6.sh similarity index 100% rename from image/ruby-3.1.5.sh rename to image/ruby-3.1.6.sh