-
Notifications
You must be signed in to change notification settings - Fork 553
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
JRuby 9.1.7.0 #689
Comments
Oh hmm, moving the webmock/rspec include to the top of the file resolved it. |
@j-mcnally what exactly did you change? I'm getting the same issue |
So i was wrong. Activesupport does some strange patching to core_ext marshal. I fully resolved the issue by downgrading Active support from 5.x to 4.x Hope that helps. it took a while to figure out the exact problem, but the active support marshall monkey patch seemed to be the root cause. Not sure if this is a Jruby issue or a Active support issue, it may have been resolved in a newer active support or jruby. By moving my include it probably loaded the webmock parts above the patch or something not really sure. But the problem came back in the addressable library elsewhere specifically where it loads a binary db that defines ip space and uses marshall load for that. The full fix was downgrading active support. |
@j-mcnally thanks for that! I don't think I'm using anything rails 5 specific so I'll try downgrade. |
👍 |
@j-mcnally and any others googling, this might be it. |
Yep 100%, glad its being tracked. |
Fails when loading webmock/rspec but i think its a conflict on my side but i cant sort it out.
The text was updated successfully, but these errors were encountered: