News and Information
Notification of implementation schedule for Ruby version upgrade
Notification of implementation schedule for Ruby version upgrade
September 17, 2010
HGC users
Thank you for your continued patronage of this center.
We will upgrade the version of Ruby that is installed under /usr/local/
from 1.8.7 to 1.9.2 on the following date:
Monday, October 18, 2010
As a result of this version upgrade, there will be some changes such as
the program description method, which may prevent programs from running.
We apologize for the inconvenience, but Ruby users need to change their
programs to support 1.9.2, or change the path if they want to continue
to use 1.8.7. If you use 1.9.2, you do not need to change the path.
[Continue to use Ruby 1.8.7]
Change the shebang line as shown below.
#!/usr/local/package/ruby/current1.8/bin/ruby
[Before using 1.9.2]
Please confirm your program works with Ruby 1.9.2, which is already
installed under /usr/local/package/ruby/current1.9/.
Note: As rb-gsl, a Ruby module, could not be installed in 1.9.2,
please use 1.8.7 for programs using rb-gsl.
Due to multilingualization, which is the biggest change in Ruby 1.9,
if a source file includes Japanese, an error will result.
In order to prevent this error from occurring, it is necessary
to specify the encoding of the source file by adding a special
comment called a "magic comment."
The default character code of the super computer system is EUC-JP.
This can be confirmed by using the following command:
$ echo $LANG
If the character code is EUC-JP, an error can be prevented by writing a
magic comment to the source file as shown below.
# coding: euc-jp
If the source file contains only ASCII characters, magic comments are not
necessary.
For other changes, please visit the following URL:
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_0/NEWS
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_1_0/NEWS
http://jp.rubyist.net/magazine/?0025-FirstStepRuby191
We thank you for your understanding and cooperation.
-------------------------
Human Genome Center
Supercomputer Room
Tel (Extension): 75620
(Outside): 03-5449-5620
E-mail: info@hgc.jp
-------------------------