/usr/lib/ruby/vendor_ruby/ffi.rb is in ruby-ffi 1.0.11debian-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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
|