Sha256: a37642635016c9e9b6ffed9ff7dd77c14c7eb02947177730a821f466d557318e

Contents?: true

Size: 916 Bytes

Versions: 9

Compression:

Stored size: 916 Bytes

Contents

begin
  require 'fox16_c'
rescue LoadError
  # If it's a Windows binary gem, try the <major>.<minor> subdirectory
  if RUBY_PLATFORM =~/(mswin|mingw)/i
    major_minor = RUBY_VERSION[ /^(\d+\.\d+)/ ] or
      raise "Oops, can't extract the major/minor version from #{RUBY_VERSION.dump}"

    # Set the PATH environment variable, so that libpq.dll can be found.
    old_path = ENV['PATH']
    ENV['PATH'] = "#{File.expand_path("../#{RUBY_PLATFORM.gsub("i386", "x86")}", __FILE__)};#{old_path}"
    require "#{major_minor}/fox16_c"
    ENV['PATH'] = old_path
  else
    raise
  end
end

require "fox16/core"
require "fox16/dict"
require "fox16/settings"
require "fox16/iterators"
require "fox16/keys"
require "fox16/aliases"
require "fox16/responder2"
require "fox16/glgroup"
require "fox16/execute_nonmodal"
require "fox16/version"
require "fox16/kwargs"
require "fox16/exceptions_for_fxerror"
require "fox16/thread"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
fxruby-1.6.32.pre1 lib/fox16.rb
fxruby-1.6.32.pre1-x86-mingw32 lib/fox16.rb
fxruby-1.6.32.pre1-x64-mingw32 lib/fox16.rb
fxruby-1.6.31-x64-mingw32 lib/fox16.rb
fxruby-1.6.31-x86-mingw32 lib/fox16.rb
fxruby-1.6.31 lib/fox16.rb
fxruby-1.6.30-x86-mingw32 lib/fox16.rb
fxruby-1.6.30-x64-mingw32 lib/fox16.rb
fxruby-1.6.30 lib/fox16.rb