Sha256: 7e1515d49cd2623ebd85996e0ae1439a4dc33b0eb00348c274d1d36b7587e18f
Contents?: true
Size: 509 Bytes
Versions: 39
Compression:
Stored size: 509 Bytes
Contents
=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_environment_path(vendor_bin_dir) begin major, minor, micro, = RUBY_VERSION.split(/\./) require "#{major}.#{minor}/gtksourceview2.so" rescue LoadError require "gtksourceview2.so" end
Version data entries
39 entries across 39 versions & 1 rubygems