bin/chocbomb in chocbomb-0.0.2 vs bin/chocbomb in chocbomb-0.0.3
- old
+ new
@@ -1,7 +1,12 @@
#!ruby
-require 'erb'
+require 'rubygems'
+require 'chocbomb/tool'
-templates = File.expand_path(File.join(File.dirname($0), "..", "templates"))
-data = ERB.new(open(File.join(templates, "Rakefile.erb")).read).result(binding)
-File.open("Rakefile", 'w') {|f| f.write(data) }
+ChocBomb.create
+
+# require 'erb'
+#
+# templates = File.expand_path(File.join(File.dirname($0), "..", "templates"))
+# data = ERB.new(open(File.join(templates, "Rakefile.erb")).read).result(binding)
+# File.open("Rakefile", 'w') {|f| f.write(data) }