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.10.1.1-x64-mingw32 lib/gosu.rb
gosu-0.10.1.1 lib/gosu.rb
gosu-0.10.1-x64-mingw32 lib/gosu.rb
gosu-0.10.1-x86-mingw32 lib/gosu.rb
gosu-0.10.0 lib/gosu.rb
gosu-0.9.2 lib/gosu.rb
gosu-0.9.2.pre1 lib/gosu.rb
gosu-0.9.1 lib/gosu.rb
gosu-0.9.0 lib/gosu.rb
gosu-0.9.0.pre1 lib/gosu.rb
gosu-0.8.7.2 lib/gosu.rb
gosu-0.8.7.1 lib/gosu.rb
gosu-0.8.7 lib/gosu.rb