Skip to content

Commit

Permalink
Bump Ruby from 2.7 to 3.0
Browse files Browse the repository at this point in the history
Although 3.0.5 was released the other day, there's not a Docker image
available for it yet for fly.io.

References:
- https://quay.io/repository/evl.ms/fullstaq-ruby?tab=tags&tag=latest
- https://circleci.com/developer/images/image/cimg/ruby
  • Loading branch information
RyanofWoods committed Nov 26, 2022
1 parent 9b4bfde commit cff60b1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -5,7 +5,7 @@ version: 2.1
jobs:
run-tests:
docker:
- image: cimg/ruby:2.7.5-node
- image: cimg/ruby:3.0.4-node
environment:
RAILS_ENV: test
PGHOST: 127.0.0.1
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
@@ -1 +1 @@
2.7.5
3.0.4
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -17,7 +17,7 @@
# We recommend using the highest patch level for better security and
# performance.

ARG RUBY_VERSION=2.7.5
ARG RUBY_VERSION=3.0.4
ARG VARIANT=jemalloc-slim
FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-${VARIANT} as base

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
git_source(:github) { |_repo| "https://github.com/#{repo}.git" }

ruby '2.7.5'
ruby '3.0.4'

gem 'autoprefixer-rails'
gem 'bootsnap', '>= 1.4.2', require: false
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -282,7 +282,7 @@ DEPENDENCIES
webpacker (~> 4.0)

RUBY VERSION
ruby 2.7.5p203
ruby 3.0.4p208

BUNDLED WITH
2.3.19
2.3.26

0 comments on commit cff60b1

Please sign in to comment.