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

Error when deploying with no sprockets #52

Open
AlecRust opened this issue Jun 4, 2020 · 1 comment
Open

Error when deploying with no sprockets #52

AlecRust opened this issue Jun 4, 2020 · 1 comment

Comments

@AlecRust
Copy link

AlecRust commented Jun 4, 2020

When I add this gem and deploy to Heroku I get the error:

  rake aborted!
       NoMethodError: undefined method `assets' for #<Rails::Application::Configuration:0x000056068bb95090>

I assume this is because Asset Pipeline/sprockets is disabled in my app?

I only use webpacker. Any chance this gem can handle no Sprockets?

@ryanfb
Copy link

ryanfb commented Sep 18, 2020

Just ran into this myself. It looks like it was fixed in f89bec4, but no release has been cut which includes that commit. If you want to get around it you can use git as the source in your Gemfile, e.g.: gem 'heroku-deflater', git: 'https://github.com/romanbsd/heroku-deflater.git'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants