diff -r 000000000000 -r 3cc90e88c6ab .pryrc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.pryrc Thu Nov 05 10:34:15 2015 -0800 @@ -0,0 +1,27 @@ +#!/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 + +