From 84db9d486953b878166e524bbc3a8bc7bb197a38 Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Fri, 6 Sep 2024 02:44:54 +0200 Subject: [PATCH] Install sprockets-rails in dev environment --- Appraisals | 7 ------- Gemfile | 1 + gemfiles/rails_7.0.8.gemfile | 2 +- gemfiles/rails_7.1.3.gemfile | 2 +- gemfiles/rails_7.2.0.gemfile | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Appraisals b/Appraisals index a1fe0a2..68b2914 100644 --- a/Appraisals +++ b/Appraisals @@ -12,8 +12,6 @@ RAILS_VERSIONS.each do |version| case version when "7.0.8" - gem "sprockets-rails" - # Fix: LoadError: cannot load such file -- base64 install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") }' do gem "base64" @@ -24,17 +22,12 @@ RAILS_VERSIONS.each do |version| end when "7.1.3" - gem "sprockets-rails" - # Fix: # warning: logger was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0 # Add logger to your Gemfile or gemspec. install_if '-> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") }' do gem "logger" end - - when "7.2.0" - gem "sprockets-rails" end end diff --git a/Gemfile b/Gemfile index 2ead28c..a2876b7 100644 --- a/Gemfile +++ b/Gemfile @@ -24,4 +24,5 @@ gem "rubocop-rake" gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" +gem "sprockets-rails" gem "sqlite3", "~> 1.5.0" diff --git a/gemfiles/rails_7.0.8.gemfile b/gemfiles/rails_7.0.8.gemfile index de0cc3a..1ec258f 100644 --- a/gemfiles/rails_7.0.8.gemfile +++ b/gemfiles/rails_7.0.8.gemfile @@ -21,9 +21,9 @@ gem "rubocop-rake" gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" +gem "sprockets-rails" gem "sqlite3", "~> 1.5.0" gem "rails", "7.0.8" -gem "sprockets-rails" install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3.0") } do gem "base64" diff --git a/gemfiles/rails_7.1.3.gemfile b/gemfiles/rails_7.1.3.gemfile index dfa4bc3..e65cec8 100644 --- a/gemfiles/rails_7.1.3.gemfile +++ b/gemfiles/rails_7.1.3.gemfile @@ -21,9 +21,9 @@ gem "rubocop-rake" gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" +gem "sprockets-rails" gem "sqlite3", "~> 1.5.0" gem "rails", "7.1.3" -gem "sprockets-rails" install_if -> { Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.4.0") } do gem "logger" diff --git a/gemfiles/rails_7.2.0.gemfile b/gemfiles/rails_7.2.0.gemfile index 3649e95..c1cee33 100644 --- a/gemfiles/rails_7.2.0.gemfile +++ b/gemfiles/rails_7.2.0.gemfile @@ -21,8 +21,8 @@ gem "rubocop-rake" gem "rubocop-rspec" gem "rubocop-rspec_rails" gem "simplecov" +gem "sprockets-rails" gem "sqlite3", "~> 1.5.0" gem "rails", "7.2.0" -gem "sprockets-rails" gemspec path: "../"