Skip to content

Commit

Permalink
Update ruby version
Browse files Browse the repository at this point in the history
Initially upgrading with the hopes of fixing
lemurheavy/coveralls-public#1240.

Upgrading how we handle the versioning according to
https://andycroll.com/ruby/read-ruby-version-in-your-gemfile/.

Ran into rubyjs/therubyracer#467, so I ended
up resolving it by switching to mini_racer via
rubyjs/mini_racer#218 (comment).
  • Loading branch information
Michael Siegfried committed Aug 12, 2022
1 parent e6a7ff7 commit 5c760d2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
!/log/.keep
*.swp
.env
.ruby-version
/.bundle
/log/*
/tmp
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.1.2
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

source 'https://rubygems.org'

ruby '2.7.2'
ruby File.read('.ruby-version').strip

gem 'bugsnag'
gem 'coffee-rails'
gem 'dotenv-rails'
gem 'dynamic_form'
gem 'jbuilder'
gem 'jquery-rails'
gem 'mini_racer'
gem 'omniauth-google-oauth2'
gem 'omniauth-rails_csrf_protection'
gem 'pg'
gem 'puma'
gem 'rails'
gem 'sass-rails'
gem 'sdoc', group: :doc
gem 'therubyracer'
gem 'turbolinks'
gem 'uglifier'
gem 'will_paginate'
Expand Down
20 changes: 8 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ GEM
thor (>= 0.14, < 2.0)
json (2.6.2)
jwt (2.4.1)
libv8 (3.16.14.19)
libv8-node (16.10.0.0-x86_64-linux)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
Expand All @@ -145,7 +145,8 @@ GEM
matrix (0.4.2)
method_source (1.0.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
mini_racer (0.6.2)
libv8-node (~> 16.10.0.0)
minitest (5.16.2)
multi_json (1.15.0)
multi_xml (0.6.0)
Expand All @@ -164,8 +165,7 @@ GEM
net-protocol
timeout
nio4r (2.5.8)
nokogiri (1.13.8)
mini_portile2 (~> 2.8.0)
nokogiri (1.13.8-x86_64-linux)
racc (~> 1.4)
oauth2 (1.4.10)
faraday (>= 0.17.3, < 3.0)
Expand Down Expand Up @@ -245,7 +245,6 @@ GEM
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (6.3.1)
ref (2.0.0)
regexp_parser (2.5.0)
rexml (3.2.5)
rspec-core (3.10.1)
Expand Down Expand Up @@ -319,9 +318,6 @@ GEM
sync (0.5.0)
term-ansicolor (1.7.1)
tins (~> 1.0)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
thor (1.2.1)
tilt (2.0.10)
timeout (0.3.0)
Expand Down Expand Up @@ -349,7 +345,7 @@ GEM
zeitwerk (2.6.0)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
bugsnag
Expand All @@ -362,6 +358,7 @@ DEPENDENCIES
jbuilder
jquery-rails
listen
mini_racer
omniauth-google-oauth2
omniauth-rails_csrf_protection
pg
Expand All @@ -380,14 +377,13 @@ DEPENDENCIES
sdoc
simplecov
spring
therubyracer
turbolinks
uglifier
web-console
will_paginate

RUBY VERSION
ruby 2.7.2p137
ruby 3.1.2p20

BUNDLED WITH
2.1.4
2.3.20

0 comments on commit 5c760d2

Please sign in to comment.