Sha256: acb03497ad96bff74a0ca4c544f28481f9301a4c5761cb4126cb1618e674117d
Contents?: true
Size: 593 Bytes
Versions: 36
Compression:
Stored size: 593 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
36 entries across 36 versions & 1 rubygems