OSDN Git Service
(root)
/
shogi-server
/
shogi-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'wdoor-stable'
[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
@@
-107,7
+107,8
@@
# * (Rated) players, who played more than $GAMES_LIMIT [15] (rated) games.
#
# * (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'
require 'utils/csa-filter'
require 'yaml'
require 'time'