Sha256: bc7136ea01855a2cf8c1c65e8aa918e71d062c2c747fba505933a5cdeba5c0d0

Contents?: true

Size: 613 Bytes

Versions: 1

Compression:

Stored size: 613 Bytes

Contents

require 'rbconfig'

if RUBY_PLATFORM =~ /mswin$|mingw32|win32-|-win32/ then
  # 64-bit builds of Windows use "x64-mingw32" as RUBY_PLATFORM
  suffix = '64' if RUBY_PLATFORM =~ /^x64-/
  
  # Add this gem to the PATH on Windows so that DLLs can be found.
  ENV['PATH'] = "#{File.dirname(__FILE__)}#{suffix};#{ENV['PATH']}"
end

begin
  # If possible, use a precompiled binary.
  RUBY_VERSION =~ /(\d+.\d+)/
  require "../lib#{suffix}/#{$1}/gosu.#{RbConfig::CONFIG['DLEXT']}"
rescue LoadError
  require "gosu.#{RbConfig::CONFIG['DLEXT']}"
end

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gosu-0.8.6-x64-mingw32 lib/gosu.rb