Skip to content

Commit

Permalink
Install sprockets-rails in dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
n-rodriguez committed Sep 6, 2024
1 parent 5ebcbf6 commit 84db9d4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 10 deletions.
7 changes: 0 additions & 7 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ gem "rubocop-rake"
gem "rubocop-rspec"
gem "rubocop-rspec_rails"
gem "simplecov"
gem "sprockets-rails"
gem "sqlite3", "~> 1.5.0"
2 changes: 1 addition & 1 deletion gemfiles/rails_7.0.8.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.1.3.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_7.2.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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: "../"

0 comments on commit 84db9d4

Please sign in to comment.