OSDN Git Service

Remove a debug message
[shogi-server/shogi-server.git] / mk_rate
diff --git a/mk_rate b/mk_rate
index f2c24c6..103988d 100755 (executable)
--- a/mk_rate
+++ b/mk_rate
 # * (Rated) players, who played more than $GAMES_LIMIT [15] (rated) games. 
 #
 
-$:.unshift(File.dirname(File.expand_path(__FILE__)))
+require 'pathname'
+$:.unshift(File.dirname(Pathname.new(__FILE__).realpath))
 require 'utils/csa-filter'
 require 'yaml'
 require 'time'