Skip to content

Commit ff007df

Browse files
Fix Logger error on webpack (#613)
On a fresh Ubuntu 22.04 install, following the README, I encounter two errors in webpacking. The first is that a `Logger` object is not present, which I resolved by importing it in the webpack binary. ``` <module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError) ```
1 parent 5ab88ff commit ff007df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bin/webpack

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
99

1010
require "bundler/setup"
1111

12+
require 'logger'
1213
require "webpacker"
1314
require "webpacker/webpack_runner"
1415

0 commit comments

Comments
 (0)