bin/jflow_worker in jflow-0.3.2 vs bin/jflow_worker in jflow-0.3.3
- old
+ new
@@ -1,8 +1,12 @@
#!/usr/bin/env ruby
require "jflow"
require "optparse"
+ENV['APP_ROOT'] = Dir.pwd
+
+puts ENV['APP_ROOT']
+
opts = {:file => "worker.json"}
OptionParser.new do |opt|
opt.on('-f filename') { |o| opts[:file] = o }
end.parse!