-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Require sprockets deprecator in Railtie #525
Conversation
sprockets-rails 3.5.0 breaks our test suite. See rails/sprockets-rails#524 and rails/sprockets-rails#525
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove "require 'active_support'" from this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
With the release of sprockets-rails 3.5.0, our local test suite breaks with ``` NoMethodError: undefined method `deprecator' for Sprockets::Rails:Module /home/circleci/solidus/vendor/bundle/ruby/3.2.0/gems/sprockets-rails-3.5.0/lib/sprockets/railtie.rb:129:in `block in <class:Railtie>' ``` This should fix that by explicitly requiring the `Sprockets::Rails.deprecator` in both `lib/sprockets/rails.rb` and `lib/sprockets/railtie.rb`. Should fix rails#524
fa7dc71
to
d34e89c
Compare
Thanks for the update. I have pushed a commit to see if this pull request addresses Rails CI failures https://buildkite.com/rails/rails/builds/108096 |
Ah thank you I was doing exactly the same thing :) Seems like there is still one test fialing on the Rails side, but I'll investigate it. |
Hum, I can't seem to repro it locally 🤔 |
With the release of sprockets-rails 3.5.0, our local test suite breaks with
This should fix that by explicitly requiring the
Sprockets::Rails.deprecator
in bothlib/sprockets/rails.rb
andlib/sprockets/railtie.rb
.Fix #524