Sha256: 4757f800bc4495278f925a1126d423504e8588993b474900ae9118861657657b
Contents?: true
Size: 391 Bytes
Versions: 38
Compression:
Stored size: 391 Bytes
Contents
if ENV['FORCE_FFI_YAJL'] == "ext" require 'ffi_yajl/ext' elsif ENV['FORCE_FFI_YAJL'] == "ffi" || defined?(Yajl) || RUBY_VERSION.to_f < 1.9 # - can't dynlink our libyajl2 c-ext and Yajl's libyajl1 c-ext into the same binary # - c-extension segfaults on ruby 1.8.7 require 'ffi_yajl/ffi' else begin require 'ffi_yajl/ext' rescue LoadError require 'ffi_yajl/ffi' end end
Version data entries
38 entries across 38 versions & 1 rubygems