bin/oats in oats-0.1.0 vs bin/oats in oats-0.1.1
- old
+ new
@@ -1,10 +1,3 @@
#!/usr/bin/env ruby
-
-dir = File.dirname(__FILE__)
-$:.unshift File.expand_path('../lib', dir )
-require 'oats'
-if $oats_execution['options']["_:agent"]
- Oats::Driver.agent
-else
- Oats.run
-end
+require File.expand_path('../../lib/oats', __FILE__ )
+Oats.run