Sha256: 0b729f4efdf91a139eb39153131ec7656e3b04aa25c5d637fe8f00baa9df01d2

Contents?: true

Size: 281 Bytes

Versions: 110

Compression:

Stored size: 281 Bytes

Contents

if !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby"
  begin
    if RUBY_VERSION =~ /1.8/
      require '1.8/ffi_c'
    elsif RUBY_VERSION =~ /1.9/
      require '1.9/ffi_c'
    else
      require 'ffi_c'
    end
  rescue Exception
    require 'ffi_c'
  end

  require 'ffi/ffi'
end

Version data entries

110 entries across 110 versions & 9 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.7.4 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.7.3 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.7.2 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.7.1 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.7.0 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.6.9 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
ffi-1.2.0.pre4 lib/ffi.rb
classiccms-0.6.8 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
ffi-1.2.0.pre3-x86-mingw32 lib/ffi.rb
ffi-1.2.0.pre3 lib/ffi.rb
classiccms-0.6.7 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
ffi-1.2.0.pre2-x86-mingw32 lib/ffi.rb
ffi-1.2.0.pre2 lib/ffi.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/ffi-1.1.5/lib/ffi.rb
classiccms-0.6.6 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.6.5 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.6.4 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.6.3 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb
classiccms-0.6.2 vendor/bundle/gems/ffi-1.0.11/lib/ffi.rb