From 1299898deae40cf1adef125eb719c91ca962a535 Mon Sep 17 00:00:00 2001 From: Daigo Moriwaki Date: Mon, 24 Nov 2014 21:33:47 +0900 Subject: [PATCH] Ruby 2.0.0 or later is recommended to use with shogi-server since Ruby 1.8 reached its End-of-Life on the end of July, 2014. --- changelog | 6 ++++++ csa-file-filter | 6 +++--- mk_game_results | 6 +++--- mk_html | 6 +++--- mk_rate | 8 ++++---- shogi-server | 2 +- shogi-server-profile | 4 ++-- utils/statistics.rb | 2 +- webserver | 2 +- 9 files changed, 24 insertions(+), 18 deletions(-) diff --git a/changelog b/changelog index 1717486..1432246 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +2014-11-24 Daigo Moriwaki + + * Ruby 2.0: + - Ruby 2.0.0 or later is recommended to use with shogi-server + since Ruby 1.8 reached its End-of-Life on the end of July, 2014. + 2014-07-19 Daigo Moriwaki * [mk_rate] diff --git a/csa-file-filter b/csa-file-filter index 79d3a49..a9a3f8f 100755 --- a/csa-file-filter +++ b/csa-file-filter @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.9.1 +#!/usr/bin/ruby # $Id$ # # Author:: Daigo Moriwaki @@ -50,9 +50,9 @@ # # Sample Command lines that isntall prerequires will work on Debian. # -# * Ruby 1.9.3 or 1.8.7 including RDoc +# * Ruby 2.0.0 or later including RDoc # -# $ sudo aptitude install ruby ruby1.9.1 +# $ sudo aptitude install ruby ruby # # == Example # diff --git a/mk_game_results b/mk_game_results index 0da4ace..0260f88 100755 --- a/mk_game_results +++ b/mk_game_results @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.9.1 +#!/usr/bin/ruby # $Id$ # # Author:: Daigo Moriwaki @@ -35,9 +35,9 @@ # # Sample Command lines that isntall prerequires will work on Debian. # -# * Ruby 1.9.3 or 1.8.7 +# * Ruby 2.0.0 or later # -# $ sudo aptitude install ruby1.9.1 +# $ sudo aptitude install ruby # # == Run # diff --git a/mk_html b/mk_html index e472670..b685a02 100755 --- a/mk_html +++ b/mk_html @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.9.1 +#!/usr/bin/ruby # $Id$ # # Author:: Daigo Moriwaki @@ -41,9 +41,9 @@ # # == Prerequire # -# * Ruby 1.9.3 or 1.8.7 +# * Ruby 2.0.0 or later # -# $ sudo aptitude install ruby ruby1.9.1 +# $ sudo aptitude install ruby ruby # # == Example # diff --git a/mk_rate b/mk_rate index 6090225..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 # diff --git a/shogi-server b/shogi-server index 33a2d70..ab464cd 100755 --- a/shogi-server +++ b/shogi-server @@ -1,4 +1,4 @@ -#! /usr/bin/ruby1.9.1 +#! /usr/bin/ruby # $Id$ # # Author:: NABEYA Kenichi, Daigo Moriwaki diff --git a/shogi-server-profile b/shogi-server-profile index 6f024c9..01f6fc7 100755 --- a/shogi-server-profile +++ b/shogi-server-profile @@ -1,4 +1,4 @@ -#! /usr/bin/ruby1.9.1 +#! /usr/bin/ruby # $Id$ # # Author:: Daigo Moriwaki @@ -38,7 +38,7 @@ # # * {ruby-prof}[http://rubyforge.org/projects/ruby-prof/] # -# $ sudo gem1.9.1 install ruby-prof +# $ sudo gem install ruby-prof # # == Run # diff --git a/utils/statistics.rb b/utils/statistics.rb index 568758f..b931317 100755 --- a/utils/statistics.rb +++ b/utils/statistics.rb @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.9.1 +#!/usr/bin/ruby # This program shows statistics of CSA kifu files like following: # - Monthly #games and #players # - Game results diff --git a/webserver b/webserver index 1c5acbd..a993dd9 100755 --- a/webserver +++ b/webserver @@ -1,4 +1,4 @@ -#!/usr/bin/ruby1.9.1 +#!/usr/bin/ruby ## Copyright (C) 2007-2012 Daigo Moriwaki ## -- 2.11.0