OSDN Git Service

* [shogi-server] - shogi-server: Previously, reloading in daemon mode failed on ruby...
authorDaigo Moriwaki <daigo@debian.org>
Sun, 24 Nov 2013 09:07:10 +0000 (18:07 +0900)
committerDaigo Moriwaki <daigo@debian.org>
Sun, 24 Nov 2013 09:07:10 +0000 (18:07 +0900)
changelog
shogi-server

index 8184ace..a807b11 100644 (file)
--- a/changelog
+++ b/changelog
@@ -3,6 +3,8 @@
        * [shogi-server]
          - shogi_server/league/floodgate.rb: Improved robustness against
            empty file under ruby 1.9.3p194
        * [shogi-server]
          - shogi_server/league/floodgate.rb: Improved robustness against
            empty file under ruby 1.9.3p194
+         - shogi-server: Previously, reloading in daemon mode failed on
+           ruby 1.9.3p194. This issue has been fixed.
        * [mk_game_results]
          - Fixed for reading Japanese comments under ruby1.9.3p194.
 
        * [mk_game_results]
          - Fixed for reading Japanese comments under ruby1.9.3p194.
 
index 3ac2605..c0f64f8 100755 (executable)
@@ -29,7 +29,7 @@ $topdir = nil
 $league = nil
 $logger = nil
 $config = nil
 $league = nil
 $logger = nil
 $config = nil
-$:.unshift File.dirname(__FILE__)
+$:.unshift(File.dirname(File.expand_path(__FILE__)))
 require 'shogi_server'
 require 'shogi_server/config'
 require 'shogi_server/util'
 require 'shogi_server'
 require 'shogi_server/config'
 require 'shogi_server/util'