-
Notifications
You must be signed in to change notification settings - Fork 790
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
[4.0.1] undefined method `+' for nil:NilClass #683
Comments
Same problem here! In my case the problem comes from the manifest.json.erb file which I use to let my application run as a PWA. That line is throwing the error:
Rails: 6.0.3.1 |
Was about to post an issue myself, instead I'll add the info here: Rails: 5.2.4.3 After running:
A NoMethodError was raised for sprockets-4.0.1/lib/sprockets/asset.rb:138 in 'etag' The relevant method in assets.rb:
|
Caused by #678 and if change -Rails.application.config.assets.version = '1.0'
+Rails.application.config.assets.version = 'v1.0' |
This worked for me as well. |
This should not be a solution. |
Could you try the master branch to see if it is fixed? I'll release 4.0.2 when it is confirmed |
4.0.2 works for me, thanks for the fix. 👍 |
@rafaelfranca just tried master branch and it seems resolved for me too. Thanks! |
I created a PR to make |
gem "sprockets", github: 'rails/sprockets' # shouldn't be needed anymore
$ bundle update For those following along. Thanks for fixing this so quickly! |
4.0.2 was released |
Successfully. Thanks. |
Rails 6.0.3.1, Ruby 2.6.6.
After today's update deployment began to fall:
New assets (active_admin, manifest) were compiled due to an update.
I rolled back to version 4.0.0 - everything was successfully deployed with it.
Related issue: #682
The text was updated successfully, but these errors were encountered: