.irbrc
changeset 6 66beb495a861
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.irbrc	Wed Aug 06 17:24:00 2008 +0000
@@ -0,0 +1,23 @@
+#!/usr/bin/ruby -*- ruby -*-
+
+BEGIN {
+	require 'pathname'
+	basedir = Pathname.new( __FILE__ ).dirname.expand_path
+	libdir = basedir + "lib"
+
+	puts ">>> Adding #{libdir} to load path..."
+	$LOAD_PATH.unshift( libdir.to_s )
+
+	require basedir + 'utils'
+	include UtilityFunctions
+}
+
+
+# Try to require the 'thingfish' library
+begin
+	require 'ezmlm'
+rescue => e
+	$stderr.puts "Ack! Ezmlm library failed to load: #{e.message}\n\t" +
+		e.backtrace.join( "\n\t" )
+end
+