.pryrc
author Mahlon E. Smith <mahlon@martini.nu>
Thu, 03 Oct 2019 11:44:44 -0700
changeset 28 99fdbf4a5f37
parent 15 a38e6916504c
permissions -rw-r--r--
Be explicit with sticky removal, so two simultaneous processes don't create a race where sticky is left enabled.

#!/usr/bin/ruby


$LOAD_PATH.unshift( 'lib' )

require 'pathname'
listpath = Pathname.new( __FILE__ ).dirname + 'spec' + 'data'

begin
	require 'ezmlm'
	list = Ezmlm::List.new( listpath + 'testlist' )

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