I would like to know if it's possible to share an object between two JRuby instances if they run inside the same JVM?
I already tried to create a singleton java class that got referenced from both JRubies, but it's seems, that each JRuby creates it's own environment and it's own version of that java class.
Does someone know a way to solve this?