/usr/lib/ruby/vendor_ruby/gtksourceview2.rb is in ruby-gtksourceview2 2.2.0-5+b2.
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 16 17 18 19 | =begin
gtksourceview2.rb
Copyright (c) 2008-2011 Ruby-GNOME2 Project Team
This program is licensed under the same licence as Ruby-GNOME2.
=end
require 'gtk2'
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
vendor_dir = base_dir + "vendor" + "local"
vendor_bin_dir = vendor_dir + "bin"
GLib.prepend_dll_path(vendor_bin_dir)
begin
major, minor, = RUBY_VERSION.split(/\./)
require "#{major}.#{minor}/gtksourceview2.so"
rescue LoadError
require "gtksourceview2.so"
end
|