-
Notifications
You must be signed in to change notification settings - Fork 199
uninitialized constant Sprockets::DigestUtils in 0.9.9 #247
Comments
@monfresh Hmm, I thought this got fixed recently with Sprockets |
Any updates on this issue? |
@monfresh Could you check |
Also seeing this issue on 0.9.9 w/ sprockets 2.12.4. Same restriction @monfresh mentioned to being able to update sprockets. |
@carsomyr Was this supposed to be fixed in 1.0.0? I'm still seeing the same error |
@monfresh I am getting the same error. 1.0.0 was supposed to fix a precompilation error I was running into. EDIT: So it seems that |
Ok so I found a workaround for this using If you just copy and paste DigestUtils.rb file into NOTE: the main thing that I had to do to get it to work is change the default pack_hexdigest method from |
@passa763 Is there some problem with
It seems to work for me. |
@carsomyr EDIT: what Rails version are you using? |
All, I'm working on a solution that everyone can use. Apparently there are some version inconsistencies to sort through as to which methods are and aren't available for use. |
testing for issue jwhitley#247
I'm having this issue with rails 4.0.13 and requirejs-rails 1.0. I also tried requirejs master. Same problem. |
I'm using Rails 4.2.4 and requirejs-rails 1.0.0. Getting same error, please help! |
Does using |
I commented both sprockets and sprockets-rails, but when I run the command,
o/p is, After commenting gems, I'm now able to run assets:precompile. |
Hi. I just upgraded to 0.9.9 and I'm getting this error during precompilation of assets:
This is because
Sprockets::DigestUtils
is only available in sprockets 3.0+, but due to version restrictions from another gem in my app, I can only use sprockets 2.x.If requirejs-rails depends on a sprockets 3.x feature, then sprockets needs to be added as a dependency with
>= 3.0
.The text was updated successfully, but these errors were encountered: