bin/sprinkle in crafterm-sprinkle-0.2.2 vs bin/sprinkle in crafterm-sprinkle-0.2.3
- old
+ new
@@ -71,10 +71,10 @@
def log_level(options)
Object.logger.level = ActiveSupport::BufferedLogger::Severity::DEBUG if options[:verbose]
end
-require 'sprinkle'
+require File.dirname(__FILE__) + '/../lib/sprinkle'
powder = OPTIONS[:path]
raise "Sprinkle script is not readable: #{powder}" unless File.readable?(powder)
force_mode(OPTIONS)