Sha256: b0cc47d131e3ee77dfad758fdbbd8e64d8c72560d7156df713f8d24d3a7dfe56
Contents?: true
Size: 445 Bytes
Versions: 10
Compression:
Stored size: 445 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 'ysql' rescue => e $stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" + e.backtrace.join( "\n\t" ) end
Version data entries
10 entries across 5 versions & 1 rubygems