Sha256: 5b006529f0dff40ca04f9bacf79e59dcbfa62222f4aa0498ec3e9823bdd14693
Contents?: true
Size: 544 Bytes
Versions: 31
Compression:
Stored size: 544 Bytes
Contents
require 'rbconfig' if defined? RUBY_PLATFORM and %w(-win32 win32- mswin mingw32).any? { |s| RUBY_PLATFORM.include? s } then ENV['PATH'] = "#{File.dirname(__FILE__)};#{ENV['PATH']}" end if File.exist? "#{File.dirname(__FILE__)}/gosu.#{RbConfig::CONFIG['DLEXT']}" require "gosu.#{RbConfig::CONFIG['DLEXT']}" elsif defined? RUBY_VERSION and RUBY_VERSION >= '1.9' then require "gosu.for_1_9.#{RbConfig::CONFIG['DLEXT']}" else require "gosu.for_1_8.#{RbConfig::CONFIG['DLEXT']}" end require "gosu/swig_patches" require "gosu/patches"
Version data entries
31 entries across 31 versions & 1 rubygems