Hi,

I've downloaded
http://ci.jruby.org/snapshots/master/jruby-complete-9000.dev.jar and I'm
trying to test out current state of dev of jruby 9k on Windows 7

"jruby -v" works out of the box:
jruby 9000.dev (2.1.0.dev) 2013-12-04 e68098b on Java HotSpot(TM) 64-Bit
Server VM 1.7.0_45-b18 [Windows 7-amd64]

"jruby -S jgem" works also, but "jruby -S jgem list" does not:
ERROR:  Loading command: list (NameError)
        uninitialized constant Fiddle::Pointer
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass

I've been digging into the jar file, and found the 2 references to
Fiddle::Pointer:

- META-INF/jruby.home/lib/ruby/shared/fiddle.rb where clearly no value is
defined for Fiddle::Pointer as RUBY_ENGINE == 'jruby'
  Pointer = DL::CPtr unless RUBY_ENGINE == 'jruby'

- META-INF/jruby.home/lib/ruby/2.1/dl/struct.rb where I can see
Fiddle::Pointer used as DF.fiddle? is true
  class CStructEntity < (DL.fiddle? ? Fiddle::Pointer : CPtr)

Most jgem sub-commands are not working because of this bug.

Is this a known issue yet? (This is my first post to dev@jruby.codehaus.orgbtw)

Are the issues still tracked in Jira or are they now tracked on github only?

-- 
Christian

Reply via email to