re-namespacing a touch

This commit is contained in:
Dan Buch
2012-04-03 23:02:32 -04:00
parent e316c95b80
commit 24e619e703
130 changed files with 0 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
require 'erb'
File.open(Rails.root.join('config/redis.conf.erb'), 'r') do |f|
tmpl = ERB.new(f.read)
File.open(Rails.root.join('config/redis.conf'), 'w') do |conf|
conf.write(tmpl.result(binding))
end
end