Skip to content

Commit e3b40e2

Browse files
committed
Add logger to deps and load in early in test Rails app.
- it is not loaded anymore as a side-effect of ruby-concurrent - fix is included in Rails 7.0, but test app is still Rails 6.1
1 parent ce45fa6 commit e3b40e2

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ group :development do
2727
gem "pry"
2828
gem "rubocop"
2929
gem "test-unit"
30+
gem "logger"
3031
# Explicitly add webrick because it has been removed from stdlib in Ruby 3.0
3132
gem "webrick"
3233
end

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ GEM
8383
json (2.9.1)
8484
json (2.9.1-java)
8585
language_server-protocol (3.17.0.3)
86+
logger (1.7.0)
8687
matrix (0.4.2)
8788
method_source (1.1.0)
8889
mini_mime (1.1.5)

test_projects/rails/rspec_rails/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
source "https://rubygems.org"
44

55
# added gems
6+
gem "logger"
67

78
gem "rspec-rails"
89
gem "simplecov", path: "../../.."

test_projects/rails/rspec_rails/config/application.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require_relative "boot"
22

3+
require "logger"
34
require "rails"
45
# Pick the frameworks you want:
56
require "active_model/railtie"

0 commit comments

Comments
 (0)