Browse files

so close, escaping!

  • Loading branch information...
1 parent f381a27 commit eb22f783f70580abe054c2392782d04ec5bc0e08 @jtarchie committed Mar 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/language_pack/nginx.rb
View
2 lib/language_pack/nginx.rb
@@ -41,7 +41,7 @@ def compile
#!/usr/bin/env ruby
conf_file = File.read("nginx.conf")
-conf_file.gsub!(/$ENV_(\w+)/) do
+conf_file.gsub!(/\\$ENV_(\\w+)/) do
ENV[$1]
end
File.open(".env_nginx.conf","w") do |file|

0 comments on commit eb22f78

Please sign in to comment.