Skip to content

Commit 96ab3a5

Browse files
Update to Ruby 3.2.2
1 parent d3efd0a commit 96ab3a5

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/ruby.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Ruby
2525
uses: ruby/setup-ruby@v1
2626
with:
27-
ruby-version: 2.7.2
27+
ruby-version: 3.2.2
2828
bundler-cache: true
2929
env:
3030
BUNDLE_JOBS: 4

.ruby-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.2
1+
3.2.2

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.7.2
1+
FROM ruby:3.2.2
22

33
# Default node version on apt is old. This makes sure a recent version is installed
44
# This step also runs apt-get update

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
source 'https://rubygems.org'
2-
ruby '2.7.2'
2+
ruby '3.2.2'
33

44
gem 'rails', '6.1.7.4'
55
# Reduces boot times through caching; required in config/boot.rb

Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ DEPENDENCIES
541541
will_paginate
542542

543543
RUBY VERSION
544-
ruby 2.7.2p137
544+
ruby 3.2.2p137
545545

546546
BUNDLED WITH
547547
2.4.17

native-installation-instructions.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ These are the original instructions for natively installing the app to your mach
1616

1717
## Set up a Ruby Environment
1818

19-
You will need to install Ruby 2.7.2 using RVM or rbenv.
19+
You will need to install Ruby 3.2.2 using RVM or rbenv.
2020

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

2323
```bash
24-
CPPFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm install 2.7.2
24+
CPPFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm install 3.2.2
2525
```
26-
We need to set the CPPFLAGS env variable to be able to install Ruby 2.7.2 on M1 Mac machines. See more: [https://github.com/ffi/ffi/issues/869#issuecomment-1233000037](https://github.com/ffi/ffi/issues/869#issuecomment-1233000037)
26+
We need to set the CPPFLAGS env variable to be able to install Ruby 3.2.2 on M1 Mac machines. See more: [https://github.com/ffi/ffi/issues/869#issuecomment-1233000037](https://github.com/ffi/ffi/issues/869#issuecomment-1233000037)
2727

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

3030
```bash
31-
rbenv install 2.7.2
32-
rbenv global 2.7.2
31+
rbenv install 3.2.2
32+
rbenv global 3.2.2
3333
```
3434

3535
## Install and run PostgreSQL

0 commit comments

Comments
 (0)