-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Summary
Mongoid has supported JRuby until now but I've run into some issues when refactoring Mongoid to use Refinements instead of monkey-patching core classes.
The Refinements branch in Mongoid is here.
I believe I'm seeing the same issue as this one.
It seems that a problem is encountered when files are loaded by rspec. The line throwing the error is here.
If I put the line "using Refinements" after the culprit line, it will load with no errors.
Let me know if I can help with debugging. If you would like to test, you can clone the Mongoid repo, check out the 6.0.0-refinements branch, start mongod on the default host/port (localhost:27017), run bundle, and then rspec.
Environment
- jruby 9.0.5.0
- mac os x
- bundle list
Reactions are currently unavailable