We are now tracking issues on github.  The Jira ones are still there but
mostly for posterity.  Open new ones on github.

I am not seeing this error:

java -jar ~/Downloads/jruby-complete-9000.dev.jar -S jgem list

I get am empty GEM list but no error.  A dev build also shows no issue.
Either my env is working from an env setting or yours is not working from
an env setting.  Tautology :)

-Tom



On Thu, Dec 5, 2013 at 9:08 AM, Christian MICHON <christian.mic...@gmail.com
> wrote:

> 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.org btw)
>
> Are the issues still tracked in Jira or are they now tracked on github
> only?
>
> --
> Christian
>



-- 
blog: http://blog.enebo.com       twitter: tom_enebo
mail: tom.en...@gmail.com

Reply via email to