lib/start_mirage.rb in mirage-1.1.0 vs lib/start_mirage.rb in mirage-1.2.0
- old
+ new
@@ -1,10 +1,11 @@
require 'rubygems'
$0='Mirage Server'
-$LOAD_PATH.unshift("#{File.dirname(__FILE__)}/../lib")
+$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'mirage'
include Mirage::Util
+#puts "ARGV is " + ARGV
options = parse_options(ARGV)
DEFAULT_RESPONSES_DIR = "#{options[:defaults_directory]}"
Mirage.client = Mirage::Client.new
Ramaze::Log.loggers = [Logger.new('mirage.log')]