bin/process_availability in daengine-0.6.21 vs bin/process_availability in daengine-0.6.22
- old
+ new
@@ -1,15 +1,16 @@
-#!/usr/bin/env ruby
-#
-# This file was generated by Bundler.
-#
-# The application 'process_assets' is installed as part of a gem, and
-# this file is here to facilitate running it.
-#
-
-require 'daengine'
-
-config = YAML.load_file(ARGV[0])
-
-t = Daengine.execute_content_service(config)
-
-puts t
\ No newline at end of file
+#!/usr/bin/env jruby
+#
+# This file was generated by Bundler.
+#
+# The application 'process_availability' is installed as part of a gem, and
+# this file is here to facilitate running it.
+#
+
+require 'pathname'
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
+ Pathname.new(__FILE__).realpath)
+
+require 'rubygems'
+require 'bundler/setup'
+
+load Gem.bin_path('daengine', 'process_availability')