lib/perennial.rb in Sutto-perennial-0.2.2.2 vs lib/perennial.rb in Sutto-perennial-0.2.2.3
- old
+ new
@@ -1,15 +1,16 @@
# Append the perennial lib folder onto the load path to make it
# nicer to require perennial-related libraries.
-$LOAD_PATH.unshift(File.dirname(__FILE__))
+perennial_dir = File.dirname(__FILE__)
+$LOAD_PATH.unshift(perennial_dir) unless $LOAD_PATH.include?(perennial_dir)
require 'pathname'
require 'perennial/core_ext'
require 'perennial/exceptions'
module Perennial
- VERSION = "0.2.2.2"
+ VERSION = "0.2.2.3"
has_libary :dispatchable, :hookable, :loader, :logger,
:loggable, :manifest, :settings, :argument_parser,
:option_parser, :application, :generator, :daemon
\ No newline at end of file