-#!/usr/bin/ruby1.9.1
+#!/usr/bin/ruby
# $Id$
#
# Author:: Daigo Moriwaki
#
# 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/])
#
#
# * RGL: {Ruby Graph Library}[http://rubyforge.org/projects/rgl/]
#
-# $ sudo gem1.9.1 install rgl
+# $ sudo gem install rgl
#
# == Examples
#
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