bin/orats in orats-0.7.3 vs bin/orats in orats-0.8.0
- old
+ new
@@ -8,10 +8,13 @@
# determine if the gem is being actively developed by searching
# for a git repo
git_path = File.expand_path('../../.git', __FILE__)
if File.exist?(git_path)
- $:.unshift(File.expand_path('../../lib', __FILE__))
+ $LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
end
require 'orats/cli'
-Orats::CLI.start(ARGV)
\ No newline at end of file
+require 'orats/argv_adjust'
+
+argv = Orats::ARGVAdjust.new.init
+Orats::CLI.start(argv)