Closed Envek closed 2 years ago
Ok, I found it.
This is a known issue (I reported it a while ago 😉): https://github.com/jruby/jruby/issues/5221.
JRuby cannot handle refinements in ancestors 😞
Ugh. That means that only choice we have is to drop refinements and use good old monkey patching ¯_(ツ)_/¯
Thanks for the investigation!
that only choice we have is to drop refinements and use good old monkey patching
Why not learning Java and contributing to JRuby?)
Why not learning Java and contributing to JRuby?)
There is also an option to rewrite gem to use SQL cursors and it is much simpler but still a lot of work :sweat_smile:
ActiveRecord 4.2 doesn't seem relevant anymore.
Tried to solve the problem with JRuby discussed in https://github.com/evilmartians/evil-seed/pull/3#issuecomment-450672080 and https://github.com/evilmartians/evil-seed/issues/6
Still, it doesn't work