.pryrc
author Mahlon E. Smith <mahlon@martini.nu>
Thu, 05 Nov 2015 10:40:01 -0800
changeset 2 58b5d17f0d53
parent 0 3cc90e88c6ab
permissions -rw-r--r--
Added tag v0.1.0 for changeset 60b437614edd

#!/usr/bin/ruby -*- ruby -*-

require 'configurability'
require 'loggability'
require 'pathname'
require 'strelka'

$LOAD_PATH.unshift( '../Thingfish/lib', 'lib' )

begin
	require 'thingfish'
	require 'thingfish/metastore/pggraph'

	Loggability.level = :debug
	Loggability.format_with( :color )

	if File.exist?( 'config.yml' )
		Strelka.load_config( 'config.yml' )
		metastore = Thingfish::Metastore.create( 'pggraph' )
	end

rescue Exception => e
	$stderr.puts "Ack! Libraries failed to load: #{e.message}\n\t" +
		e.backtrace.join( "\n\t" )
end