X-Git-Url: http://git.sourceforge.jp/view?p=shogi-server%2Fshogi-server.git;a=blobdiff_plain;f=mk_rate;h=f2c24c6e376e1e64a40c2e7a0c11acb50aa165a4;hp=b5409632582fcfa96fe3bc3f450a72ab0c024c25;hb=7c643a7ada1bfc2a938fe6bc3541f4cdd1e2aa96;hpb=62ad30ff63d52c1075d2bea89901b5c4aa7e95d3 diff --git a/mk_rate b/mk_rate index b540963..f2c24c6 100755 --- a/mk_rate +++ b/mk_rate @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.9.1 +#!/usr/bin/ruby # $Id$ # # Author:: Daigo Moriwaki @@ -76,9 +76,9 @@ # # 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 ruby1.9.1 +# $ sudo aptitude install ruby # # * 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/] # -# $ sudo gem1.9.1 install rgl +# $ sudo gem install rgl # # == Examples # @@ -679,7 +679,7 @@ def parse(line) end if state == "abnormal" - csa = CsaFileReader.new file + csa = CsaFileReader.new(file, "EUC-JP") if $options["abnormal-threshold"] == 0 || csa.ply <= $options["abnormal-threshold"] return end