Skip to content

Commit

Permalink
Added environment configuration for running WeeDB example tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtodd committed Jun 10, 2008
1 parent 7b84fe8 commit 05fc53e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/weedb/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ desc "Load up the application environment"
task :env do
$log = ''
$logger = Logger.new(StringIO.new($log))
Halcyon.config = {:logger => $logger}
Halcyon.config = {:logger => $logger
:environment => (ENV['HALCYON_ENV'] || ENV['ENV'] || :development).to_sym}
Halcyon::Runner.new
end

Expand Down

0 comments on commit 05fc53e

Please sign in to comment.