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
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.5
3.4.7
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.4.5
FROM ruby:3.4.7

# Default node version on apt is old. This makes sure a recent version is installed
# This step also runs apt-get update
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source 'https://rubygems.org'
ruby '3.4.5'
ruby file: '.ruby-version'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼


gem 'rails', '~> 7.1.5.1' # LOCKED: It is Rails.
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
Expand Down
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,7 @@ GEM
PLATFORMS
aarch64-linux
arm64-darwin-20
arm64-darwin-25
x86_64-darwin-24
x86_64-linux

Expand Down Expand Up @@ -681,7 +682,7 @@ DEPENDENCIES
web-console (>= 4.1.0)

RUBY VERSION
ruby 3.4.5p51
ruby 3.4.7p58

BUNDLED WITH
2.6.7
2.7.2
10 changes: 5 additions & 5 deletions native-installation-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ These are the original instructions for natively installing the app to your mach

## Set up a Ruby Environment

You will need to install Ruby 3.4.5 using RVM or rbenv.
You will need to install Ruby 3.4.7 using RVM or rbenv.

### Option 1: Using [rvm](https://rvm.io/rvm/install)

```bash
CPPFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm install 3.4.5
CPPFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm install 3.4.7
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't rvm, rbenv etc. pick up .ruby_version too?

Copy link
Collaborator Author

@olleolleolle olleolleolle Oct 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rbenv works like that.

rvm works like that, too.

Perhaps we can... simplify this instruction.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2379 now is about clarification.

```
We need to set the CPPFLAGS env variable to be able to install Ruby 3.4.5 on M1 Mac machines. See more: [https://github.com/ffi/ffi/issues/869#issuecomment-1233000037](https://github.com/ffi/ffi/issues/869#issuecomment-1233000037)
We need to set the CPPFLAGS env variable to be able to install Ruby 3.4.7 on M1 Mac machines. See more: [https://github.com/ffi/ffi/issues/869#issuecomment-1233000037](https://github.com/ffi/ffi/issues/869#issuecomment-1233000037)

### Option 2: Using [rbenv](https://github.com/sstephenson/rbenv) and [ruby-build](https://github.com/sstephenson/ruby-build)

```bash
rbenv install 3.4.5
rbenv global 3.4.5
rbenv install 3.4.7
rbenv global 3.4.7
```

## Install and run PostgreSQL
Expand Down