diff --git a/lib/hydra/tasks.rb b/lib/hydra/tasks.rb index b41c932..ed28637 100644 --- a/lib/hydra/tasks.rb +++ b/lib/hydra/tasks.rb @@ -36,6 +36,8 @@ module Hydra #:nodoc: # files that may not play nice with others. attr_accessor :serial + attr_accessor :environment + # # Search for the hydra config file def find_config_file @@ -91,7 +93,8 @@ module Hydra #:nodoc: :verbose => @verbose, :autosort => @autosort, :files => @files, - :listeners => @listeners + :listeners => @listeners, + :environment => @environment } if @config @opts.merge!(:config => @config)