I find this confusing. JRuby comes with site_ruby/shared/ffi, but I'm using gems that depend on gem ffi. This means that the ffi gem gets installed. Would it be best practice for my scripts to use a bundler Gemfile with ffi referenced? FWIW most of my development is on windows.
on 2012-05-02 22:19
on 2012-05-03 04:41
Installing the ffi gem should have a neutral effect on jruby - i.e. it does nothing other than satisfy dependencies. JRuby's internal FFI implementation is always used.
on 2012-05-05 16:09
On May 2, 8:40pm, Wayne Meissner <wmeiss...@gmail.com> wrote: > Installing the ffi gem should have a neutral effect on jruby - i.e. it > does nothing other than satisfy dependencies. JRuby's internal FFI > implementation is always used. > Thanks for that, I've got one less thing to stress over (:-0
on 2012-05-08 20:08
so you can't actually upgrade your internal jruby ffi by installing a newer gem?
on 2012-05-09 00:38
That is correct. It is probably not that much of an issue these days, since the ruby-ffi API hasn't changed since before jruby 1.6 was released.