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