Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
* Removed Ruby 3.1 (EOL: 2024-03-26)
* Upgraded Node 20 LTS -> 22 LTS.
* Upgraded image base to phusion/baseimage:noble-1.0.1
* Upgraded to Ruby 3.3.8 (from 3.3.7)
* Upgraded to Ruby 3.4.4 (from 3.4.2)
*
* Upgraded to Ruby 3.2.9 (from 3.2.8)
* Upgraded to Ruby 3.3.9 (from 3.3.7)
* Upgraded to Ruby 3.4.5 (from 3.4.2)

## 3.1.3 (release date: 2025-04-04)
* Upgraded to Ruby 3.1.7 (from 3.1.6).
Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ Basics (learn more at [baseimage-docker](http://phusion.github.io/baseimage-dock

Language support:

* Ruby 3.2.8, 3.3.8, 3.4.4 and JRuby 9.3.15.0 and 9.4.9.0.
* Ruby 3.2.9, 3.3.9, 3.4.5 and JRuby 9.3.15.0 and 9.4.9.0.
* RVM is used to manage Ruby versions. [Why RVM?](#why_rvm)
* 3.4.4 is configured as the default.
* 3.4.5 is configured as the default.
* JRuby is installed from source, but we register an APT entry for it.
* JRuby uses OpenJDK 17.
* Python 3.12, or any version provided by the Deadsnakes PPA (currently 3.8, 3.9, 3.10, and 3.11; see https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa).
Expand Down Expand Up @@ -448,12 +448,12 @@ 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.2.8
RUN bash -lc 'rvm --default use ruby-3.2.8'
# Ruby 3.3.8
RUN bash -lc 'rvm --default use ruby-3.3.8'
# Ruby 3.4.4
RUN bash -lc 'rvm --default use ruby-3.4.4'
# Ruby 3.2.9
RUN bash -lc 'rvm --default use ruby-3.2.9'
# Ruby 3.3.9
RUN bash -lc 'rvm --default use ruby-3.3.9'
# Ruby 3.4.5
RUN bash -lc 'rvm --default use ruby-3.4.5'
# JRuby 9.3.15.0
RUN bash -lc 'rvm --default use jruby-9.3.15.0'
# JRuby 9.4.9.0
Expand All @@ -468,21 +468,21 @@ 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 <IDENTIFIER>`. For example:

```bash
$ rvm-exec 3.3.8 ruby -v
Using /usr/local/rvm/gems/ruby-3.3.8
ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux]
$ rvm-exec 3.3.9 ruby -v
Using /usr/local/rvm/gems/ruby-3.3.9
ruby 3.3.9 (2025-07-24 revision f5c772fc7c) [x86_64-linux]

$ rvm-exec 3.4.4 ruby -v
Using /usr/local/rvm/gems/ruby-3.4.4
ruby 3.4.4 (2025-05-14 revision a38531fd3f) +PRISM [x86_64-linux]
$ rvm-exec 3.4.5 ruby -v
Using /usr/local/rvm/gems/ruby-3.4.5
ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-linux]

```

More examples, but with Bundler instead:

```bash
# This runs 'bundle install' using Ruby 3.4.4
rvm-exec 3.4.4 bundle install
# This runs 'bundle install' using Ruby 3.4.5
rvm-exec 3.4.5 bundle install
```

<a name="default_ruby_wrapper_scripts"></a>
Expand Down
2 changes: 1 addition & 1 deletion image/nginx-passenger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ header "Installing Phusion Passenger..."
## Install it through RVM, not APT, so that the -customizable variant cannot end up
## having Ruby installed from both APT and RVM.
if [[ ! -e /usr/bin/ruby ]]; then
RVM_ID="ruby-3.4.4"
RVM_ID="ruby-3.4.5"

run mkdir -p "/build_cache/${ARCH}"
if [[ -e "/build_cache/${ARCH}/${RVM_ID}.tar.bz2" ]]; then
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading