Sha256: 0abbc884bd672540d8783724daf87af98b453337a482e78c03df7b87c1183452

Contents?: true

Size: 422 Bytes

Versions: 21

Compression:

Stored size: 422 Bytes

Contents

require 'rbconfig'

if RUBY_PLATFORM =~ /mswin|mingw32|mingw64|win32\-|\-win32/ then
  # Add this gem to the PATH on Windows so that DLLs can be found
  ENV['PATH'] = "#{File.dirname(__FILE__)};#{ENV['PATH']}"
end

begin
  RUBY_VERSION =~ /(\d+.\d+)/
  require "#{$1}/gosu.#{RbConfig::CONFIG['DLEXT']}"
rescue LoadError
  require "gosu.#{RbConfig::CONFIG['DLEXT']}"
end

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
gosu-0.8.0.pre4 lib/gosu.rb