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

Version Path
gtksourceview2-1.2.6-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.6 lib/gtksourceview2.rb
gtksourceview2-1.2.5-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.5 lib/gtksourceview2.rb
gtksourceview2-1.2.4-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.4 lib/gtksourceview2.rb
gtksourceview2-1.2.3-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.3 lib/gtksourceview2.rb
gtksourceview2-1.2.2-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.2 lib/gtksourceview2.rb
gtksourceview2-1.2.1-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.1 lib/gtksourceview2.rb
gtksourceview2-1.2.0-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.2.0 lib/gtksourceview2.rb
gtksourceview2-1.1.9-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.1.9 lib/gtksourceview2.rb
gtksourceview2-1.1.8-x86-mingw32 lib/gtksourceview2.rb
gtksourceview2-1.1.8 lib/gtksourceview2.rb
gtksourceview2-1.1.7 lib/gtksourceview2.rb
gtksourceview2-1.1.7-x86-mingw32 lib/gtksourceview2.rb