Subject:
Re: [ruby-ffi] Ruby 1.9.1 and Debian
From:
Wayne Meissner
Date:
3/6/10 12:45 AM
To:
ruby-ffi@googlegroups.com

On 6 March 2010 09:10, micah <micaho@gmail.com> wrote:
> Hi,
>
> I have just uploaded the most recent release of FFI to Debian.
>
> I built it for both ruby1.8 and ruby1.9. I would have preferred to use
> 1.9.1, but the ffi.rb has this contained in it:
>
>  elsif RUBY_VERSION =~ /1.9/
>    require '1.9/ffi_c'
>
> The debian 1.9.1 packages would get installed under 1.9.1, so this
> require would fail. Perhaps that is a good thing, can the FFI ruby
> library work with 1.9.1, or is it 1.9 specific?

That shouldn't affect you at all, unless debian is doing something
broken like sharing gem installations between ruby versions.

The 1.8 and 1.9 specific code is there for win32 fat binary support,
and on everything else will fall thru to the "require 'ffi_c'" line.