Sha256: ef078a6a68035ab7ad54e08b742f900a1e1e438f28e95c324293e82b8c80cf2b

Contents?: true

Size: 454 Bytes

Versions: 6

Compression:

Stored size: 454 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 'yugabyte_ysql'
rescue => e
	$stderr.puts "Ack! pg library failed to load: #{e.message}\n\t" +
		e.backtrace.join( "\n\t" )
end

Version data entries

6 entries across 3 versions & 1 rubygems

Version Path
yugabyte_ysql-0.3 .irbrc
yugabyte_ysql-0.3 .pryrc
yugabyte_ysql-0.2 .irbrc
yugabyte_ysql-0.2 .pryrc
yugabyte_ysql-0.1 .irbrc
yugabyte_ysql-0.1 .pryrc