exe/legion in legionio-0.3.1 vs exe/legion in legionio-0.3.2
- old
+ new
@@ -42,9 +42,11 @@
op.on('-v', '--version') { options[:action] = :version }
op.separator ''
op.parse!(ARGV)
-require File.expand_path('lib/legion.rb') unless options[:action] == :help
-Legion.start
-require File.expand_path('lib/legion/process.rb') unless options[:action] == :help
-Legion::Process.new(options).run!
+unless options[:action] == :help
+ require 'legion'
+ Legion.start
+ require 'legion/process'
+ Legion::Process.new(options).run!
+end