public
Fork of shyouhei/ruby
Description: the Ruby programming language, unofficial mirror (see the wiki for details)
Homepage: http://www.ruby-lang.org/
Clone URL: git://github.com/yugui/ruby.git
ruby /
name age message
file .cvsignore Thu Sep 21 10:06:50 -0700 2006 * .cvsignore: ignore timestamp files and instal... [nobu]
file .document Wed Nov 11 21:37:12 -0800 2009 * merged from trunk r25718:25728. git-svn-id: ... [nobu]
file .gdbinit Wed Aug 05 02:46:07 -0700 2009 * debug.c (ruby_dummy_gdb_enums): made public. ... [nobu]
file .gitignore Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file COPYING Fri Jun 09 14:20:17 -0700 2006 * sprintf.c (rb_str_format): allow %c to print ... [matz]
file COPYING.ja Sat Jun 10 09:09:12 -0700 2006 * ext/bigdecimal/lib/bigdecimal/newton.rb (Newt... [matz]
file ChangeLog Sat Oct 17 17:55:34 -0700 2009 * test/test_prime.rb (TestPrime#test_eratosth... [yugui]
file GPL Wed Jul 11 12:25:52 -0700 2001 * It is confusing to put the GPL license terms ... [knu]
file KNOWNBUGS.rb Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file LEGAL Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file LGPL Wed Jul 11 12:25:52 -0700 2001 * It is confusing to put the GPL license terms ... [knu]
file Makefile.in Tue Oct 13 04:43:01 -0700 2009 add comment. git-svn-id: svn+ssh://ci.ruby-la... [akr]
file NEWS Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file README Tue Nov 18 17:56:51 -0800 2008 * merged from trunk r19258:20281. git-svn-id: ... [nobu]
file README.EXT Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file README.EXT.ja Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file README.ja Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file ToDo Mon Apr 05 08:55:09 -0700 2004 * error.c (Init_Exception): remove Exception#to... [matz]
file array.c Mon Oct 05 07:35:39 -0700 2009 * array.c (rb_ary_{times, shuffle_bang, sample}... [matz]
directory bcc32/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory benchmark/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file bignum.c Sat Oct 17 01:31:07 -0700 2009 * bignum.c (big_split): fix off-by-one error. ... [mame]
directory bin/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory bootstraptest/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file class.c Mon Aug 31 00:21:54 -0700 2009 * class.c (make_singleton_class): variable name... [yugui]
file common.mk Sat Oct 10 02:19:05 -0700 2009 * configure.in, Makefile.in (LIBRUBY_SO), commo... [nobu]
file compar.c Sun Feb 22 06:23:33 -0800 2009 stripped trailing spaces. git-svn-id: svn+ssh:... [nobu]
file compile.c Thu Oct 08 09:11:30 -0700 2009 * compile.c (ADD_TRACE): fire coverage event in... [mame]
file complex.c Tue Sep 08 06:10:04 -0700 2009 * include/ruby/st.h (st_hash_func): use st_inde... [nobu]
file configure.in Sat Oct 10 02:59:19 -0700 2009 * configure.in (cflags, cxxflags): remove dupli... [nobu]
file cont.c Mon Sep 21 13:58:26 -0700 2009 * compile.c, cont.c, gc.c, insns.def, iseq.c, i... [nobu]
directory cygwin/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file debug.c Mon Sep 14 00:39:16 -0700 2009 * debug.c, parse.y: fixed types. * node.h (nd_... [nobu]
file debug.h Tue Nov 18 17:56:51 -0800 2008 * merged from trunk r19258:20281. git-svn-id: ... [nobu]
directory defs/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file dir.c Sat Sep 19 01:33:01 -0700 2009 * dir.c (GlobPathValue), file.c (rb_get_path_ch... [nobu]
file dln.c Mon Sep 28 07:31:01 -0700 2009 * dln.c (load_lib, dln_find_exe_r): env string ... [nobu]
file dln.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file dmydln.c Wed Apr 20 07:25:34 -0700 2005 * Makefile.in, common.mk: miniruby depens on MI... [nobu]
file dmyencoding.c Sun Apr 06 23:51:33 -0700 2008 * encoding.c (enc_init_db): moved to enc/encdb.... [nobu]
file dmyext.c Mon Sep 12 03:44:21 -0700 2005 * array.c: moved to ANSI function style from K&... [ocean]
directory doc/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory enc/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file encoding.c Mon Sep 28 17:34:00 -0700 2009 * encoding.c (rb_enc_unicode_p): defined. Ret... [naruse]
file enum.c Sun Oct 11 00:39:17 -0700 2009 rdoc update. git-svn-id: svn+ssh://ci.ruby-la... [akr]
file enumerator.c Tue Sep 29 08:37:28 -0700 2009 * enumerator.c (enumerator_block_call): extract... [nobu]
file error.c Tue Sep 08 19:55:09 -0700 2009 * error.c (name_err_mesg_data_type): typed. g... [nobu]
file eval.c Tue Oct 13 18:34:46 -0700 2009 * eval.c (rb_threadptr_errinfo): removed. git-... [nobu]
file eval_error.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file eval_intern.h Mon Oct 12 16:53:48 -0700 2009 * thread.c: Revert changes to Thread#raise made... [marcandre]
file eval_jump.c Sat Feb 28 03:12:36 -0800 2009 * eval_error.c (error_print): use volatile to s... [akr]
directory ext/ Thu Oct 15 21:36:31 -0700 2009 * ext/bigdecimal/bigdecimal.c (VpMidRound): rem... [naruse]
file file.c Sat Oct 10 07:57:46 -0700 2009 * file.c (path_check_0): prevent from GC. git... [nobu]
file gc.c Mon Sep 21 13:58:26 -0700 2009 * compile.c, cont.c, gc.c, insns.def, iseq.c, i... [nobu]
file gc.h Thu Oct 15 21:40:11 -0700 2009 * gc.h (rb_gc_debug_body): constified. git-sv... [nobu]
file gem_prelude.rb Thu Jul 30 07:12:42 -0700 2009 * gem_prelude.rb (Gem.path): uses Gem.default_p... [yugui]
file golf_prelude.rb Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file goruby.c Sun Feb 22 06:23:33 -0800 2009 stripped trailing spaces. git-svn-id: svn+ssh:... [nobu]
file hash.c Mon Sep 28 12:24:18 -0700 2009 * hash.c (rb_f_getenv): use rb_filesystem_str_n... [naruse]
file ia64.s Sat Jul 14 18:41:40 -0700 2007 add reference. git-svn-id: svn+ssh://ci.ruby-... [akr]
file id.c Sun Sep 06 01:39:57 -0700 2009 * compile.c (iseq_specialized_instruction), ins... [ko1]
directory include/ Sat Oct 10 17:04:10 -0700 2009 * include/ruby/ruby.h (RB_GC_GUARD_PTR): workar... [nobu]
file inits.c Fri Nov 07 05:52:07 -0800 2008 * inits.c (rb_call_inits): do not repeat. git... [nobu]
file insns.def Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file io.c Wed Oct 14 23:14:16 -0700 2009 * io.c (io_encoding_set): get rid of parsing no... [nobu]
file iseq.c Thu Oct 15 21:40:11 -0700 2009 * gc.h (rb_gc_debug_body): constified. git-sv... [nobu]
file iseq.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file lex.c.blt Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory lib/ Sat Oct 17 17:55:34 -0700 2009 * test/test_prime.rb (TestPrime#test_eratosth... [yugui]
file load.c Wed Sep 23 12:45:37 -0700 2009 * load.c (Kernel#autoload?, Module#autoload?): ... [marcandre]
file main.c Tue Sep 23 01:03:41 -0700 2008 * debug.h (ruby_set_debug_option): declared. *... [akr]
directory man/ Mon Dec 29 04:14:25 -0800 2008 * man/ri.1: new manpage. git-svn-id: svn+ssh:/... [yugui]
file marshal.c Sat Oct 17 06:11:05 -0700 2009 * marshal.c (id2encidx): register encoding name... [nobu]
file math.c Sat Oct 10 04:38:47 -0700 2009 * math.c (math_atanh): reverted r25279. git-sv... [yugui]
file method.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory misc/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory missing/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file node.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file numeric.c Tue Sep 08 06:10:04 -0700 2009 * include/ruby/st.h (st_hash_func): use st_inde... [nobu]
file object.c Tue Oct 13 16:12:59 -0700 2009 * object.c (rb_mod_const_defined): rdoc fix gi... [marcandre]
file pack.c Sat Oct 03 23:00:33 -0700 2009 * pack.c (NATINT_LEN, pack_pack): suppressed wa... [nobu]
file parse.y Sat Oct 17 00:35:39 -0700 2009 * parse.y (parser_yylex): fix token even after ... [akr]
file prelude.rb Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file proc.c Tue Oct 13 16:08:27 -0700 2009 * proc.c (mnew): Method#new checks for respond_... [marcandre]
file process.c Tue Sep 22 00:14:09 -0700 2009 * process.c (proc_setgroups): fixed type. git-... [nobu]
file random.c Tue Sep 08 19:11:35 -0700 2009 * include/ruby/ruby.h (rb_data_type_struct): co... [nobu]
file range.c Fri Oct 02 08:31:05 -0700 2009 * range.c (discrete_object_p): needs the argume... [nobu]
file rational.c Tue Sep 08 06:10:04 -0700 2009 * include/ruby/st.h (st_hash_func): use st_inde... [nobu]
file re.c Tue Sep 29 18:08:44 -0700 2009 * re.c (last_match): add "thread and method" to... [naruse]
file regcomp.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regenc.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regenc.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regerror.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regexec.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regint.h Tue Sep 22 05:16:19 -0700 2009 * regint.h: commit miss. git-svn-id: svn+ssh:/... [nobu]
file regparse.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regparse.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file regsyntax.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file ruby.c Tue Oct 13 21:24:16 -0700 2009 * ruby.c (process_options): script name should ... [nobu]
file safe.c Tue Jun 23 05:28:16 -0700 2009 * file.c (rb_get_path_check): check with given ... [nobu]
directory sample/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file signal.c Sun Sep 13 03:34:35 -0700 2009 * signal.c (interrupt_init): nodoc. git-svn-id... [nobu]
directory spec/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file sprintf.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file st.c Fri Oct 16 08:12:31 -0700 2009 * st.c (unpack_entries): save table->bins and n... [wanabe]
file strftime.c Tue May 12 05:07:49 -0700 2009 * time.c: support fixed UTC offset. [ruby-dev:... [akr]
file string.c Sat Oct 17 04:12:05 -0700 2009 fix a typo. git-svn-id: svn+ssh://ci.ruby-lan... [akr]
file struct.c Wed Oct 07 00:06:32 -0700 2009 * include/ruby/ruby.h (rb_long2int): evalates t... [nobu]
directory symbian/ Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory template/ Mon Sep 21 13:58:26 -0700 2009 * compile.c, cont.c, gc.c, insns.def, iseq.c, i... [nobu]
directory test/ Sat Oct 17 17:55:34 -0700 2009 * test/test_prime.rb (TestPrime#test_eratosth... [yugui]
file thread.c Mon Oct 12 16:53:48 -0700 2009 * thread.c: Revert changes to Thread#raise made... [marcandre]
file thread_pthread.c Sun Jun 07 16:59:58 -0700 2009 * thread_pthread.c (rb_thread_create_timer_thre... [ko1]
file thread_pthread.h Sun Aug 31 19:37:51 -0700 2008 * mvm.c: added. * common.mk: ditto. * eval.c, e... [ko1]
file thread_win32.c Sat Apr 18 22:43:20 -0700 2009 * eval.c (ruby_cleanup): the order of local var... [nobu]
file thread_win32.h Mon Jul 28 05:27:43 -0700 2008 * thread_win32.[ch] (cond_every_entry, rb_thre... [usa]
file time.c Wed Sep 30 01:32:43 -0700 2009 * time.c (rb_time_succ): make Time#succ obsolet... [matz]
file timev.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
directory tool/ Mon Oct 26 16:56:13 -0700 2009 * mkconfig.rb: reverted r25443 because build_os... [nobu]
file transcode.c Sat Oct 10 07:51:25 -0700 2009 * transcode.c (rb_transcoding, str_transcoding_... [nobu]
file transcode_data.h Mon May 04 17:05:11 -0700 2009 Fix: DON'T move in_p because before in_p is rep... [naruse]
file util.c Mon May 25 21:58:15 -0700 2009 * common.mk (bignum.o, numeric.o): depend on ut... [nobu]
file variable.c Tue Sep 22 06:11:21 -0700 2009 * variable.c: fixed type. git-svn-id: svn+ssh:... [nobu]
file version.c Wed Feb 04 18:21:37 -0800 2009 * configure.in (RUBY_LIB_VERSION): added for li... [nobu]
file version.h Fri Oct 16 08:12:34 -0700 2009 * 2009-10-17 git-svn-id: svn+ssh://ci.ruby-lan... [svn]
file vm.c Mon Sep 21 13:58:26 -0700 2009 * compile.c, cont.c, gc.c, insns.def, iseq.c, i... [nobu]
file vm_core.h Mon Sep 21 13:58:26 -0700 2009 * compile.c, cont.c, gc.c, insns.def, iseq.c, i... [nobu]
file vm_dump.c Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file vm_eval.c Wed Oct 14 07:08:26 -0700 2009 * vm_eval.c (eval_string): rdoc fix [ruby-core:... [marcandre]
file vm_exec.c Sun Jan 18 18:38:11 -0800 2009 * vm.c: add a prefix "rb_" to exposed functions... [ko1]
file vm_exec.h Mon Nov 09 16:04:59 -0800 2009 * merged from trunk r20597:25704. git-svn-id: ... [nobu]
file vm_insnhelper.c Sun Sep 27 20:09:16 -0700 2009 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... [matz]
file vm_insnhelper.h Sun Sep 06 13:42:50 -0700 2009 * insns.def (opt_*): add IC operands. * vm_insn... [ko1]
file vm_method.c Fri Oct 16 22:34:51 -0700 2009 * vm_method.c (basic_obj_respond_to): call #res... [matz]
file vm_opts.h Fri Aug 29 04:31:39 -0700 2008 * merged from trunk r18660:18923. git-svn-id: ... [nobu]
directory win32/ Fri Oct 16 00:10:08 -0700 2009 * win32/win32.c (rb_w32_spawn): `\'' is also qu... [usa]
README
* What's Ruby

Ruby is the interpreted scripting language for quick and
easy object-oriented programming.  It has many features to
process text files and to do system management tasks (as in
Perl).  It is simple, straight-forward, and extensible.


* Features of Ruby

  + Simple Syntax
  + *Normal* Object-Oriented features(ex. class, method calls)
  + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
  + Operator Overloading
  + Exception Handling
  + Iterators and Closures
  + Garbage Collection
  + Dynamic Loading of Object files(on some architecture)
  + Highly Portable (works on many Unix-like/POSIX compatible platforms
    as well as Windows, Mac OS X, BeOS etc.)
    cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms


* How to get Ruby

The Ruby distribution files can be found in the following FTP site:

  ftp://ftp.ruby-lang.org/pub/ruby/

The trunk of the Ruby source tree can be checked out with the
following command:

  $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby

There are some other branches under development.  Try the following
command and see the list of branches:

  $ svn ls http://svn.ruby-lang.org/repos/ruby/branches/


* Ruby home-page

The URL of the Ruby home-page is:

   http://www.ruby-lang.org/


* Mailing list

There is a mailing list to talk about Ruby.
To subscribe this list, please send the following phrase

  subscribe YourFirstName YourFamilyName
e.g.
        subscribe Joseph Smith

in the mail body (not subject) to the address <ruby-talk-ctl@ruby-lang.org>.


* How to compile and install

This is what you need to do to compile and install Ruby:

  1. If ./configure does not exist or is older than configure.in,
     run autoconf to (re)generate configure.

  2. Run ./configure, which will generate config.h and Makefile.

     Some C compiler flags may be added by default depending on your
     environment.  Specify optflags=.. and warnflags=.. as necessary
     to override them.

  3. Edit defines.h if you need.  Usually this step will not be needed.

  4. Remove comment mark(#) before the module names from ext/Setup (or
     add module names if not present), if you want to link modules
     statically.

     If you don't want to compile non static extension modules
     (probably on architectures which does not allow dynamic loading),
     remove comment mark from the line "#option nodynamic" in
     ext/Setup.

  5. Run make.

  6. Optionally, run 'make test' to check whether the compiled Ruby
     interpreter works well.  If you see the message "test succeeded",
     your ruby works as it should (hopefully).

  7. Run 'make install'

     You may have to be a super user to install ruby.

If you fail to compile ruby, please send the detailed error report with
the error log and machine/OS type, to help others.


* Copying

See the file COPYING.


* The Author

Feel free to send comments and bug reports to the author.  Here is the 
author's latest mail address:

  matz@netlab.jp

-------------------------------------------------------
created at: Thu Aug  3 11:57:36 JST 1995
Local variables:
mode: indented-text
end: