From: Sean O'Halpin Date: 2009-02-16T17:25:20+09:00 Subject: Re: [ruby-ffi] Re: [ANN] ffi-ncurses version 0.3.0 On Mon, Feb 16, 2009 at 2:50 AM, Charles Oliver Nutter wrote: > Sean O'Halpin wrote: >> >> Ouch! Didn't try installing it as a gem in JRuby. >> >> Is it possible to specify different gem dependencies by platform? > > No, it's not. RubyGems dependency mechanism is pretty simplistic. I think > the only option with current RubyGems would be to have a dummy FFI gem. > > Granted, I'd love to see RubyGems handle this better; we get people asking > us about it every other day. > > - Charlie > Shame. I'll document this way to install ffi-ncurses for the moment: $ jruby -S gem install ffi-ncurses --ignore-dependencies Regards, Sean