Sha256: 82bd2bb8a47ab0f85e02b19e39db215d221b6658c439087c8579445e1373f085

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

# HACK: If running on Windows, then add the current directory to the PATH
# for the current process so it can find the bundled dlls before the require
# of the actual extension file.
if RUBY_PLATFORM.match(/mingw|mswin/i)
  libdir = File.expand_path(File.dirname(__FILE__)).gsub(File::SEPARATOR, File::ALT_SEPARATOR)
  ENV['PATH'] = File.join(libdir, "do_sqlite3;") + ENV['PATH']
end

require 'rubygems'
require 'data_objects'
require File.expand_path(File.join(File.dirname(__FILE__), 'do_sqlite3_ext.bundle'))
require File.expand_path(File.join(File.dirname(__FILE__), 'do_sqlite3', 'transaction'))

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
do_sqlite3-0.9.8 lib/do_sqlite3.rb