Skip to content

Commit 017bd98

Browse files
author
Sidelnikov Stanislav
committed
Fixed Heroku rake task
1 parent 60730db commit 017bd98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/tasks.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ def vars
2020
)
2121

2222
out = ''
23-
dotted_hash = to_dotted_hash Kernel.const_get(RailsConfig.const_name).to_hash
23+
hash = {RailsConfig.const_name => Kernel.const_get(RailsConfig.const_name).to_hash}
24+
dotted_hash = to_dotted_hash hash
2425
dotted_hash.each {|key, value| out += " #{key}=#{value} "}
2526
out
2627
end

0 commit comments

Comments
 (0)