The Ruby Programming Language https://www.ruby-lang.org/
Find a file
usa 4d0fd56540 * 2008-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-16 05:45:08 +00:00
bcc32 * {bcc,win}32/Makefile (config.h): need to define RUBY_SETJMP, etc. 2008-04-01 04:14:18 +00:00
bin * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys): 2005-10-24 00:07:01 +00:00
cygwin * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load 2005-09-06 23:23:04 +00:00
djgpp * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files. 2006-12-21 07:15:01 +00:00
doc revert previous commit. 2008-04-22 16:03:08 +00:00
ext * ext/tk/lib/tk.rb: fix memory (object) leak bug. 2008-05-15 23:22:17 +00:00
lib * lib/delegate.rb (SimpleDelegator::dup): removed needless argument. 2008-05-12 01:41:12 +00:00
misc misc/ruby-mode.el: commit miss. 2008-05-02 06:17:56 +00:00
missing * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined 2007-12-14 01:01:42 +00:00
sample sample/erb/erb4html.rb (ERB4Html) : add example of ERB#set_eoutvar. ERB4Html is an auto-quote ERB. 2008-05-04 00:41:52 +00:00
test * array.c (rb_ary_count): Override Enumerable#count for better 2008-05-14 10:26:48 +00:00
vms * configure.in: Check for the availability of pid_t, gid_t and uid_t and 2005-05-14 14:57:53 +00:00
win32 * win32/win32.c (rb_w32_select): backport from trunk. 2008-05-12 03:38:06 +00:00
wince * win{32,ce}/Makefile.sub: merged. 2008-01-08 11:02:10 +00:00
x68 Initial revision 1998-01-16 12:13:05 +00:00
.cvsignore * .cvsignore: ignore timestamp files and installed list file. 2006-09-21 17:06:50 +00:00
.document Support "require" as variable name in RDoc 2004-10-10 03:35:51 +00:00
array.c * array.c (rb_ary_count): Override Enumerable#count for better 2008-05-14 10:26:48 +00:00
bignum.c * bignum.c (rb_big_div): Bignum#div should return integer for 2008-04-01 11:33:27 +00:00
ChangeLog * Makefile.in (test-rubyspec): use RUNRUBY. suggested by nobu. 2008-05-16 05:26:25 +00:00
class.c * class.c (struct clone_method_data): Add cref. 2008-04-26 10:52:56 +00:00
common.mk * common.mk (RUBYLIB, RUBYOPT): clear. 2008-05-12 03:33:22 +00:00
compar.c Fix dependency issue 2003-12-19 00:01:19 +00:00
config.guess * eval.c (THREAD_ALLOC): th->thread should be initialized to NULL. 2004-07-17 02:23:52 +00:00
config.sub * config.guess, config.sub: Attempt to avoid system name change on 2004-06-11 05:29:02 +00:00
configure.in * configure.in (MINIRUBY): should not include extension library path. 2008-05-11 08:57:40 +00:00
COPYING * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
COPYING.ja Rename *.jp to *.ja, since jp is a region code and ja is a language 2001-07-19 05:44:26 +00:00
defines.h * file.c (file_expand_path): support for alternative data stream 2008-05-15 06:34:02 +00:00
dir.c * array.c (rb_ary_collect_bang, rb_ary_select): Return an 2008-04-14 08:57:23 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +00:00
dln.c * dln.c (dln_find_1): prior files with extensions to files sans 2008-04-24 05:15:13 +00:00
dln.h Updated Copyrights of Matz to 2003. 2003-01-16 07:34:03 +00:00
dmydln.c This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-04-20 14:25:35 +00:00
dmyext.c Initial revision 1998-01-16 12:13:05 +00:00
enum.c * enum.c (all_iter_i, any_iter_i): reduced duplicated code. 2008-05-11 14:19:41 +00:00
enumerator.c * array.c (rb_ary_count): Override Enumerable#count for better 2008-05-14 10:26:48 +00:00
env.h * env.h (SCOPE_CLONE): Introduce a new scope flag to prevent a 2007-03-03 07:28:54 +00:00
error.c * eval_error.ci (get_backtrace): check the result more. 2007-07-19 10:24:17 +00:00
eval.c * eval.c (is_defined): add NODE_OP_ASGN_{OR,AND}. "defined?(a||=1)" 2008-05-12 05:01:01 +00:00
file.c * file.c (file_expand_path): support for alternative data stream 2008-05-15 06:34:02 +00:00
gc.c * signal.c, gc.c: New methods: GC.stress, GC.stress=; 2008-04-15 07:54:11 +00:00
GPL * It is confusing to put the GPL license terms in the file COPYING; 2001-07-11 19:25:52 +00:00
hash.c * hash.c (recursive_hash): prototype. 2008-04-21 01:03:00 +00:00
ia64.s This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2006-01-01 08:12:39 +00:00
inits.c * enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h, 2008-04-09 11:13:04 +00:00
install-sh 1.4.0 1999-08-13 05:45:20 +00:00
instruby.rb * instruby.rb (open_for_install): write block result and rewrite only 2008-03-21 00:24:30 +00:00
intern.h * class.c (struct clone_method_data): Add cref. 2008-04-26 10:52:56 +00:00
io.c * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
keywords * keywords: add braces around initializers. 2002-09-28 11:08:59 +00:00
LEGAL * LEGAL (ext/nkf/nkf-utf8): updated from nkf1.7 to nkf-utf8. 2005-07-13 15:46:37 +00:00
lex.c * keywords: add braces around initializers. 2002-09-28 11:08:59 +00:00
LGPL * It is confusing to put the GPL license terms in the file COPYING; 2001-07-11 19:25:52 +00:00
main.c * common.mk, configure.in, defines.h, eval.c, gc.c, main.c, 2006-09-01 18:47:11 +00:00
Makefile.in * Makefile.in (test-rubyspec): use RUNRUBY. suggested by nobu. 2008-05-16 05:26:25 +00:00
marshal.c * marshal.c (w_object): add volatile to avoid potential GC bug. a 2008-04-10 23:09:54 +00:00
math.c * math.c: fix comment. [ruby-dev:33276] 2008-01-25 13:34:13 +00:00
mdoc2man.rb * mdoc2man.rb: Properly put nested braces, parentheses and angles. 2003-01-20 12:10:40 +00:00
missing.h * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): use 2006-01-25 13:30:11 +00:00
mkconfig.rb * mkconfig.rb: should not use the libraries under the source directory 2007-12-27 14:56:04 +00:00
NEWS * string.c (Init_String): Define #bytesize as an alias for #size 2008-05-15 08:02:47 +00:00
node.h * configure.in (RUBY_SETJMP, RUBY_LONGJMP, RUBY_JMP_BUF): prefers 2008-03-31 17:58:14 +00:00
numeric.c * array.c (rb_ary_collect_bang, rb_ary_select): Return an 2008-04-14 08:57:23 +00:00
object.c * eval.c (rb_proc_new, YIELD_FUNC_LAMBDA): Add a new nd_state 2008-04-22 13:51:44 +00:00
pack.c * merge -c 11935 2007-02-28 12:05:06 +00:00
parse.y * eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a block 2008-04-26 10:37:13 +00:00
prec.c * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
process.c * process.c: new method Process.exec; backported from 1.9. bug#19006 2008-04-11 10:09:56 +00:00
random.c * random.c (rb_genrand_int32, rb_genrand_real), intern.h: Export. 2008-04-14 10:52:17 +00:00
range.c * range.c (range_step): check if step can be converted to an integer. 2008-05-01 14:43:24 +00:00
re.c * re.c (match_select): restore previous behavior of MatchData#select. 2008-05-02 04:51:58 +00:00
re.h * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 2003-03-04 14:12:19 +00:00
README Update the distribution information. 2007-02-20 07:37:23 +00:00
README.EXT * README.EXT: English adjustment. [ruby-core:08855] 2006-09-13 14:45:21 +00:00
README.EXT.ja * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
README.ja Update the distribution information. 2007-02-20 07:37:23 +00:00
regex.c * regex.c (re_search): string might be NULL. [ruby-core:16478] 2008-04-22 08:14:10 +00:00
regex.h * regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199] 2003-08-03 09:22:50 +00:00
ruby.1 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed 2006-03-11 08:27:43 +00:00
ruby.c * ruby.c (proc_options): -W should be allowed in RUBYOPT 2007-09-12 14:17:33 +00:00
ruby.h * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
rubyio.h * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
rubysig.h * rubysig.h (CHECK_INTS): fixed typo. (I believe bit-or is improper) 2005-10-21 10:23:03 +00:00
rubytest.rb * instruby.rb, mkconfig.rb, rubytest.rb, bcc32/mkexports.rb, win32/{resource,mkexports}.rb: set executable. 2006-12-21 15:48:01 +00:00
runruby.rb * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default 2007-05-22 20:48:34 +00:00
signal.c * signal.c, gc.c: New methods: GC.stress, GC.stress=; 2008-04-15 07:54:11 +00:00
sprintf.c * sprintf.c (rb_f_sprintf): should protect temporary string from 2008-04-22 08:50:42 +00:00
st.c * ruby.h: use ifdef (or defined) for macro constants that may or 2006-07-31 06:34:10 +00:00
st.h * st.h (st_data_t): use pointer sized integer for st_data_t. 2006-07-10 01:30:14 +00:00
string.c * string.c (Init_String): Define #bytesize as an alias for #size 2008-05-15 08:02:47 +00:00
struct.c * struct.c (rb_struct_s_def): to_str should be called only once. 2008-05-06 23:47:46 +00:00
time.c * time.c: should include <errno.h> to refer errno. 2008-04-21 01:17:41 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c * util.c (ruby_strtod): backported from 1.9. a patch from Satoshi 2008-05-10 00:18:32 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable, 2007-06-17 16:12:32 +00:00
version.c Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org> 2006-11-26 09:34:32 +00:00
version.h * 2008-05-16 2008-05-16 05:45:08 +00:00

* 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 machines, and on DOS,
    Windows, Mac, BeOS etc.)


* How to get Ruby

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

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

The latest source code of this version series can be checked out
through SVN with the following command:

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

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.

  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: