Skip to content

Commit

Permalink
chore: Upgrade to Ruby 3.2.1 & Rails 6.0
Browse files Browse the repository at this point in the history
* chore: upgrade to rails 6.0

* chore: upgrade ruby to 3.2.1

* chore: upgrade bundler

* chore: upgrade execjs

* chore: upgrade to rails 6.1

* chore: switch to sentry-ruby from raven

* chore: add extra platforms to gemfile
  • Loading branch information
adamcooke authored Apr 6, 2023
1 parent 363ceff commit 957b784
Show file tree
Hide file tree
Showing 25 changed files with 285 additions and 243 deletions.
3 changes: 2 additions & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
2.7.7
3.2.1

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7.7-bullseye AS base
FROM ruby:3.2.1-bullseye AS base

SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update \
Expand Down Expand Up @@ -31,7 +31,7 @@ RUN mkdir -p /opt/postal/app /opt/postal/config
WORKDIR /opt/postal/app

# Install bundler
RUN gem install bundler -v 2.4.7 --no-doc
RUN gem install bundler -v 2.4.9 --no-doc

# Install the latest and active gem dependencies and re-run
# the appropriate commands to handle installs.
Expand Down
14 changes: 8 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
source "https://rubygems.org"
gem "authie", "~> 3.0"
gem "authie"
gem "autoprefixer-rails"
gem "basic_ssl"
gem "bcrypt"
Expand All @@ -15,25 +15,27 @@ gem "gelf"
gem "haml"
gem "hashie"
gem "highline", require: false
gem "execjs", '~> 2.7', "< 2.8"
gem "jwt"
gem "kaminari"
gem "mail", git: "https://github.com/mikel/mail.git", branch: "2-7-stable"
gem "mail"
gem "moonrope"
gem "mysql2"
gem "nifty-utils"
gem "nilify_blanks"
gem "nio4r"
gem "puma"
gem "rails", "= 5.2.8.1"
gem "rails", "= 6.1.7.3"
gem "resolv", "~> 0.2.1"
gem "secure_headers"
gem "sentry-raven"
gem 'sentry-rails'
gem 'sentry-ruby'
gem "turbolinks", "~> 5"

group :development, :assets do
gem "coffee-rails", "~> 4.2"
gem "coffee-rails", "~> 5.0"
gem "jquery-rails"
gem "sass-rails", "~> 5.0"
gem "sass-rails"
gem "uglifier", ">= 1.3.0"
end

Expand Down
Loading

0 comments on commit 957b784

Please sign in to comment.