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 remote-tracking branch 'origin/master' into wdoor-stable
[shogi-server/shogi-server.git]
/
mk_rate
diff --git
a/mk_rate
b/mk_rate
index
6090225
..
103988d
100755
(executable)
--- a/
mk_rate
+++ b/
mk_rate
@@
-1,4
+1,4
@@
-#!/usr/bin/ruby
1.9.1
+#!/usr/bin/ruby
# $Id$
#
# Author:: Daigo Moriwaki
# $Id$
#
# Author:: Daigo Moriwaki
@@
-76,9
+76,9
@@
#
# Sample Command lines that install prerequires will work on Debian.
#
#
# Sample Command lines that install prerequires will work on Debian.
#
-# * Ruby
1.9.3 or 1.8.7
(including Rubygems)
+# * Ruby
2.0.0 or later
(including Rubygems)
#
#
-# $ sudo aptitude install ruby
1.9.1
+# $ sudo aptitude install ruby
#
# * Ruby bindings for the GNU Scientific Library (GSL[http://rb-gsl.rubyforge.org/])
#
#
# * Ruby bindings for the GNU Scientific Library (GSL[http://rb-gsl.rubyforge.org/])
#
@@
-86,7
+86,7
@@
#
# * RGL: {Ruby Graph Library}[http://rubyforge.org/projects/rgl/]
#
#
# * RGL: {Ruby Graph Library}[http://rubyforge.org/projects/rgl/]
#
-# $ sudo gem
1.9.1
install rgl
+# $ sudo gem install rgl
#
# == Examples
#
#
# == Examples
#
@@
-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'