-
Notifications
You must be signed in to change notification settings - Fork 47
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
undefined method `bytesize' for nil:NilClass #50
Comments
We should try to create a failing test for this issue |
While Does the error also occur if you directly call Sprockets' |
I'm getting the same error ( @Umofomia, I checked and called |
@liorbrauer can you provide any additional information? |
@jhilden Hi, I continued fiddling with it and got it working. The issue for me was that I needed to provide the path to the |
I'm glad you were able to fix it @liorbrauer I tried to reproce the issue you were having in this branch (https://github.com/zweilove/css_splitter/compare/reproduce-issue-50) to see if we could give a better error message in this case.
Any tips for me what could be different? What are your rails/sprockets versions? |
@jhilden Thanks, this gem has really helped us! Regarding your question: I looked at the branch you linked. That's not what I did - I added the
Hope that it is more clear? |
Also: Using rails 3.2.22 and sprockets 2.2.3 |
Rack::Utils.bytesize
blows up if the master stylesheet is empty.The text was updated successfully, but these errors were encountered: