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