lib/ajax-cat.rb in ajax-cat-2.0.3 vs lib/ajax-cat.rb in ajax-cat-2.0.4

- old
+ new

@@ -29,10 +29,11 @@ end def initialize(port = DEFAULT_PORT, silent = true) logger = Logger.new logger.log "starting ajax-cat" - Thin::Logging.silent = silent + #Thin::Logging.silent = silent + Thin::Logging.debug = :log system("mkdir #{Dir.home}/.ajax-cat 2>/dev/null") @settings = JSON.parse(File.read("ajax-cat.ini.json")) port = @settings["port"] if port == DEFAULT_PORT @@pairs = Pairs.new(@settings) Dir.chdir(Dir.home)