bin/process_assets in daengine-0.4.0.4 vs bin/process_assets in daengine-0.4.5
- old
+ new
@@ -4,12 +4,13 @@
#
# The application 'process_assets' is installed as part of a gem, and
# this file is here to facilitate running it.
#
-require 'daengine'
+require 'pathname'
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
+ Pathname.new(__FILE__).realpath)
-config = YAML.load_file(ARGV[0])
+require 'rubygems'
+require 'bundler/setup'
-t = Daengine.execute(config)
-
-puts t
\ No newline at end of file
+load Gem.bin_path('daengine', 'process_assets')