.irbrc
author Mahlon E. Smith <mahlon@martini.nu>
Tue, 30 May 2017 11:08:48 -0700
changeset 25 81cc7d47f68f
parent 6 66beb495a861
permissions -rw-r--r--
Oop, the 'mailinglist' file was leftover from older ezmlm. Not created by ezmlm-make anymore.

#!/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