Commits

Julian Mann committed fc2accc

raise errror if env var nonexistent in yaml

Comments (0)

Files changed (1)

lib/core_ext/string.rb

       begin
         str.gsub!("${#{m[0]}}", ENV[m[0]])
       rescue
-        $stderr.puts "problem with enviroment variable #{m[0]}."
+        # $stderr.puts "problem with enviroment variable #{m[0]}."
+        raise "Enviroment variable does not exist #{m[0]}."
       end
     end
     str