rubinius-core-api
rubinius-core-api copied to clipboard
Unsure how to load this gem
How do I require the library so I have access to Rubinius::Channel on jruby? I did this:
require 'rubinius/core-api'
p Rubinius.constants
and it output this:
[:Tuple]
which tells me the require is working but most of the actual classes are not being loaded.
Yeah, I don't have a good fix for this problem at the moment.
The issue is that JRuby 1.6.3 also had an extension for Rubinius core APIs, but it only defines Tuple. When loading the gem on 1.6.3, then, that smaller extension loads instead of the one in the gem. 1.6.4 will fix this, or a build from master, but there's no workaround for 1.6.3 right now.
To be honest, I just forgot this issue was out there. We'll keep it open until JRuby 1.6.4 is out, hopefully in the next couple weeks. In the interim, you could try running off a build of JRuby from jruby-1_6 branch, which should work properly (when I fix it in a few minutes).