Skip to content

Commit

Permalink
Explicitly require logger gem for Rails 6.x/7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Jan 23, 2025
1 parent a9c6ba4 commit 5833aab
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ gem 'sprockets-rails'
gem 'turbolinks'
gem 'uglifier'
gem 'puma'
# gem 'logger'

group :test do
gem "test-unit", "~> 3.0"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails-6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
gem 'rails', '~> 6.0.0'
gem 'sprockets-rails'
gem 'turbolinks'
gem 'logger'

group :test do
gem "test-unit", "~> 3.0"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails-6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
gem 'rails', '~> 6.1.0'
gem 'sprockets-rails'
gem 'turbolinks'
gem 'logger'

group :test do
gem "test-unit", "~> 3.0"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails-7.0-propshaft.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
gem 'rails', '~> 7.0.0'
gem 'propshaft'
gem 'turbolinks'
gem 'logger'

group :test do
gem "test-unit", "~> 3.0"
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails-7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source 'https://rubygems.org'
gem 'rails', '~> 7.0.0'
gem 'sprockets-rails'
gem 'turbolinks'
gem 'logger'

group :test do
gem "test-unit", "~> 3.0"
Expand Down
2 changes: 2 additions & 0 deletions sandbox/config/application.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require_relative 'boot'

require "logger"

# Pick the frameworks you want:
# require "active_record/railtie"
require "action_controller/railtie"
Expand Down

0 comments on commit 5833aab

Please sign in to comment.