Sha256: 88638c0b4eefed23986a35bbd21bcf2320d416957347549b90666862aaf8cd86
Contents?: true
Size: 443 Bytes
Versions: 362
Compression:
Stored size: 443 Bytes
Contents
#!/usr/bin/ruby -*- ruby -*- BEGIN { require 'pathname' require 'rbconfig' basedir = Pathname.new( __FILE__ ).dirname.expand_path libdir = basedir + "lib" puts ">>> Adding #{libdir} to load path..." $LOAD_PATH.unshift( libdir.to_s ) } # Try to require the 'pg' library begin $stderr.puts "Loading pg..." require 'pg' rescue => e $stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" + e.backtrace.join( "\n\t" ) end
Version data entries
362 entries across 181 versions & 2 rubygems