Skip to content

Commit

Permalink
Upgrades Ruby version to 2.5.9 & Heroku stack to heroku-20
Browse files Browse the repository at this point in the history
  • Loading branch information
matyikriszta committed Jul 19, 2023
1 parent 1445a3e commit 25140bd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.4.2
ruby-version: 2.5.9
bundler-cache: true
env:
BUNDLE_JOBS: 4
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.2
2.5.9
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.4.2
FROM ruby:2.5.9

# 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 '2.4.2'
ruby '2.5.9'

gem 'rails', '4.2.11.3'

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ DEPENDENCIES
will_paginate

RUBY VERSION
ruby 2.4.2p198
ruby 2.5.9p229

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

## Set up a Ruby Environment

You will need to install Ruby 2.4.2 using RVM or rbenv.
You will need to install Ruby 2.7.2 using RVM or rbenv.

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

```bash
rvm install 2.4.2
CPPFLAGS=-DUSE_FFI_CLOSURE_ALLOC rvm install 2.5.9
```

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

```bash
rbenv install 2.4.2
rbenv global 2.4.2
rbenv install 2.5.9
rbenv global 2.5.9
```

## Install and run PostgreSQL
Expand Down

0 comments on commit 25140bd

Please sign in to comment.