Skip to content
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

Merged
merged 1 commit into from
Jun 7, 2024

Commits on Jun 7, 2024

  1. Require sprockets deprecator in Railtie

    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
    mamhoff committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    d34e89c View commit details
    Browse the repository at this point in the history