diff --git a/lib/tasks.rb b/lib/tasks.rb index e74df771..d23f5c1f 100644 --- a/lib/tasks.rb +++ b/lib/tasks.rb @@ -20,7 +20,8 @@ def vars ) out = '' - dotted_hash = to_dotted_hash Kernel.const_get(RailsConfig.const_name).to_hash + hash = {RailsConfig.const_name => Kernel.const_get(RailsConfig.const_name).to_hash} + dotted_hash = to_dotted_hash hash dotted_hash.each {|key, value| out += " #{key}=#{value} "} out end