Sha256: 0abbc884bd672540d8783724daf87af98b453337a482e78c03df7b87c1183452

Contents?: true

Size: 422 Bytes

Versions: 21

Compression:

Stored size: 422 Bytes

Contents

require 'rbconfig'

if RUBY_PLATFORM =~ /mswin|mingw32|mingw64|win32\-|\-win32/ then
  # Add this gem to the PATH on Windows so that DLLs can be found
  ENV['PATH'] = "#{File.dirname(__FILE__)};#{ENV['PATH']}"
end

begin
  RUBY_VERSION =~ /(\d+.\d+)/
  require "#{$1}/gosu.#{RbConfig::CONFIG['DLEXT']}"
rescue LoadError
  require "gosu.#{RbConfig::CONFIG['DLEXT']}"
end

require "gosu/swig_patches"
require "gosu/patches"

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gosu-0.8.6 lib/gosu.rb
gosu-0.8.6-x86-mingw32 lib/gosu.rb
gosu-0.8.6.pre1 lib/gosu.rb
gosu-0.8.5 lib/gosu.rb
gosu-0.8.5-x86-mingw32 lib/gosu.rb
gosu-0.8.5.pre1 lib/gosu.rb
gosu-0.8.4-x86-mingw32 lib/gosu.rb
gosu-0.8.4 lib/gosu.rb
gosu-0.8.3-x86-mingw32 lib/gosu.rb
gosu-0.8.3 lib/gosu.rb
gosu-0.8.2-x86-mingw32 lib/gosu.rb
gosu-0.8.2 lib/gosu.rb
gosu-0.8.1-x86-mingw32 lib/gosu.rb
gosu-0.8.1 lib/gosu.rb
gosu-0.8.0 lib/gosu.rb
gosu-0.8.0-x86-mingw32 lib/gosu.rb
gosu-0.8.0.pre7 lib/gosu.rb
gosu-0.8.0.pre7-x86-mingw32 lib/gosu.rb
gosu-0.8.0.pre6 lib/gosu.rb
gosu-0.8.0.pre5 lib/gosu.rb