Sha256: 60d3abb18997d85d269260a1c1744483fa597c935b3c99f5195a5393d04d8389

Contents?: true

Size: 574 Bytes

Versions: 33

Compression:

Stored size: 574 Bytes

Contents

require 'rbconfig'

if RUBY_PLATFORM =~ /mswin$|mingw32|mingw64|win32\-|\-win32/ then
  binary_path = File.dirname(__FILE__)
  # 64-bit builds of Windows use "x64-mingw32" as RUBY_PLATFORM
  binary_path += '64' if RUBY_PLATFORM =~ /^x64-/
  
  # Add this gem to the PATH on Windows so that bundled DLLs can be found.
  ENV['PATH'] = "#{binary_path};#{ENV['PATH']}"
  
  # Add the correct directory 
  RUBY_VERSION =~ /(\d+.\d+)/
  $LOAD_PATH.unshift "#{binary_path}/#{$1}"
end

require "gosu.#{RbConfig::CONFIG['DLEXT']}"

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

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
gosu-0.11.1 lib/gosu.rb
gosu-0.11.1.pre1 lib/gosu.rb
gosu-0.11.0 lib/gosu.rb
gosu-0.10.9.pre1 lib/gosu.rb
gosu-0.10.8 lib/gosu.rb
gosu-0.10.7 lib/gosu.rb
gosu-0.10.6 lib/gosu.rb
gosu-0.10.5 lib/gosu.rb
gosu-0.10.5.pre0 lib/gosu.rb
gosu-0.10.5.pre1 lib/gosu.rb
gosu-0.10.4 lib/gosu.rb
gosu-0.10.3 lib/gosu.rb
gosu-0.10.2-x64-mingw32 lib/gosu.rb
gosu-0.10.2-x86-mingw32 lib/gosu.rb
gosu-0.10.2 lib/gosu.rb
gosu-0.10.2.pre1 lib/gosu.rb
gosu-0.10.1.2-x64-mingw32 lib/gosu.rb
gosu-0.10.1.2-x86-mingw32 lib/gosu.rb
gosu-0.10.1.2 lib/gosu.rb
gosu-0.10.1.1-x86-mingw32 lib/gosu.rb