You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
I believe this will be fixed, but I'm not sure if things run properly. You'll see a commit for 9.1 shortly, and if you have a chance to test a 9.1 snapshot before we release next week it would be a great help.
If there's still outstanding issues that aren't the arity/block error, file a new issue and we'll look at it for 9.1.1.
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
The text was updated successfully, but these errors were encountered: