返回上一页  首页 | cnbeta报时: 04:32:28
Ruby 1.9.2 发布
发布日期:2010-08-19 13:00:01  稿源:

Ruby 是由日本人松本行弘发明一门免费的、简单的、直观的、可扩展的、可移植的、解释的脚本语言.
用于快速而简单的面向对象编程.类似于 Perl,它支持处理文本文件和执行系统管理任务的很多特性.

About Ruby 1.9.2

Ruby 1.9.2 is mostly compatible with 1.9.1, except the following changes:

  • Many new methods
  • New socket API (IPv6 support)
  • New encodings
  • Random class that supports various random number generators
  • Time is reimplemented. There is no longer the year 2038 problem.
  • some regexp enhancements
  • $: no longer includes the current directory.
  • dl is reimplemented on top of libffi.
  • new psych library that wraps libyaml. You can use the library instead of syck.

See NEWS and ChangeLog for more detail.

Ruby 1.9.2 passes over 99% of RubySpec.

Supported Platform

Ruby 1.9 has four support levels.

Supported
We verified that Ruby 1.9.2 works fine on it. And we can keep the 1.9.2 maintained on it.
  • Debian GNU/Linux 5.0 on IA32.
Best Effort
We verified that Ruby 1.9.2 works mostly fine on them. And I believe we can keep the 1.9.2 maintained on it.
  • mswin32, x64-mswin64, mingw32
  • MacOS X 10.5 (Intel) and 10.6
  • FreeBSD 6 and later (amd64, IA32)
  • Solaris 10
  • Symbian OS
Perhaps
I think Ruby 1.9.2 works fine on them with small modification, however, it is not verified. Patch is welcome.
  • Other Linux distributions
  • Other versions of MacOS X.
  • cygwin
  • AIX 5
  • Other POSIX-compatible systems
  • BeOS (Haiku)
Not supported
I do not think Ruby 1.9.2 works on them. Porting is welcome.
  • Any other systems

FAQ

The standard library is installed in /usr/local/lib/ruby/1.9.1
This version number is "library compatibility version". Ruby 1.9.2 is mostly compatible with the 1.9.1, so its library is installed in the directory.
It causes a LoadError
$: no longer includes the current directory. So some scripts need modification to work correctly. Anyway, your script should not depend on the current directory as well as possible.

Downloads

查看网友评论   返回完整版观看

返回上一页  首页 | cnbeta报时: 04:32:28

文字版  标准版  电脑端

© 2003-2026