From 28af12a0ba929c6ca40221d7cc361ed026c932f0 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Tue, 14 Jun 2022 10:49:50 -0300 Subject: [PATCH] 19193: Pins sprockets gem to version <4.0 to avoid issues. This was already done on Workbench1 when upgraded to 5.2. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- services/api/Gemfile | 4 ++++ services/api/Gemfile.lock | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/services/api/Gemfile b/services/api/Gemfile index 30d877fac7..9b401cc6ac 100644 --- a/services/api/Gemfile +++ b/services/api/Gemfile @@ -7,6 +7,10 @@ source 'https://rubygems.org' gem 'rails', '~> 5.2.0' gem 'responders', '~> 2.0' +# Pin sprockets to < 4.0 to avoid issues when upgrading rails to 5.2 +# See: https://github.com/rails/sprockets-rails/issues/443 +gem 'sprockets', '~> 3.0' + group :test, :development do gem 'factory_bot_rails' diff --git a/services/api/Gemfile.lock b/services/api/Gemfile.lock index bb37fc0267..49fa584935 100644 --- a/services/api/Gemfile.lock +++ b/services/api/Gemfile.lock @@ -210,7 +210,7 @@ GEM simplecov-html (0.7.1) simplecov-rcov (0.2.3) simplecov (>= 0.4.1) - sprockets (4.0.3) + sprockets (3.7.2) concurrent-ruby (~> 1.0) rack (> 1, < 3) sprockets-rails (3.4.2) @@ -259,6 +259,7 @@ DEPENDENCIES signet (< 0.12) simplecov (~> 0.7.1) simplecov-rcov + sprockets (~> 3.0) sshkey test-unit (~> 3.0) themes_for_rails! -- 2.30.2