Sha256: b566f8e8723b6bd6192f9d579f009ee392bb65faa16e9977240c2266021af54f

Contents?: true

Size: 517 Bytes

Versions: 4

Compression:

Stored size: 517 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.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

4 entries across 4 versions & 1 rubygems

Version Path
gtksourceview2-1.0.0-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.0.0 lib/gtksourceview2.rb
gtksourceview2-0.90.9 lib/gtksourceview2.rb
gtksourceview2-0.90.9-x86-mingw32 lib/gtksourceview2.rb