Sha256: cdb55f53a2d2d5d423fe8fc5097f0c0a2bd2ed5b18161b2900ac580e6771ad45
Contents?: true
Size: 365 Bytes
Versions: 5
Compression:
Stored size: 365 Bytes
Contents
#!/usr/bin/env ruby begin require 'pg_ext' rescue LoadError => err # 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}" require "#{major_minor}/pg_ext" else raise end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pg-0.11.0pre229 | lib/pg.rb |
pg-0.11.0pre229-x86-mswin32 | lib/pg.rb |
pg-0.11.0pre229-x86-mingw32 | lib/pg.rb |
pg-0.11.0pre220 | lib/pg.rb |
pg-0.10.1 | lib/pg.rb |