bin/kuzushi-erb in kuzushi-0.0.49 vs bin/kuzushi-erb in kuzushi-0.0.50
- old
+ new
@@ -1,10 +1,11 @@
#!/usr/bin/env ruby
+require 'rubygems'
require 'erb'
require 'ohai'
require 'json'
@system = Ohai::System.new.all_plugins
-@config = JSON.parse(File.read("config.json") if File.exists?("config.json")
+@config = JSON.parse(File.read("config.json")) if File.exists?("config.json")
-ERB.new(File.read(ARGV[0], 0, '<>').result(binding)
+ERB.new(File.read(ARGV[0]), 0, '<>').result(binding)