1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
The Ruby Programming Language [mirror]
Find a file
shyouhei 82ea308dcf merge revision(s) 17483:
* string.c (rb_str_buf_append): should infect.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@17484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-20 09:23:53 +00:00
bcc32 merge revision(s) 13694: 2008-06-07 16:30:49 +00:00
bin * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +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: change svn properties of DOSISH batch files. 2006-12-21 07:50:35 +00:00
doc * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
ext merge revision(s) 16677: 2008-06-15 14:31:47 +00:00
lib merge revision(s) 17396: 2008-06-18 06:19:36 +00:00
misc merge revision(s) 15790: 2008-06-15 11:27:43 +00:00
missing merge revision(s) 14222:14225: 2008-06-07 20:22:51 +00:00
sample * sample/test.rb, test/ruby/test_system.rb(valid_syntax?): keep 2007-09-07 05:00:26 +00:00
test merge revision(s) 16082: 2008-06-15 13:11:46 +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 merge revision(s) 16379: 2008-06-15 13:49:29 +00:00
wince * {win32,wince,bcc32}/setup.mak (-version-): no RUBY_EXTERN magic. 2007-08-15 22:30:33 +00:00
x68 * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
.cvsignore * configure.in: add support for as and ASFLAGS. [ruby-dev:29138] 2006-07-26 13:28:17 +00:00
.document Support "require" as variable name in RDoc 2004-10-10 03:35:51 +00:00
array.c merge revision(s) 17470:17472: 2008-06-20 06:51:54 +00:00
bignum.c merge revision(s) 15575: 2008-06-15 10:56:33 +00:00
ChangeLog merge revision(s) 17483: 2008-06-20 09:23:53 +00:00
class.c merge revision(s) 15856: 2008-06-15 12:05:53 +00:00
common.mk * merge -c 11918 2007-02-27 15:46:49 +00:00
compar.c * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +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 merge revision(s) 12205: 2008-06-17 13:16:15 +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 merge revision(s) 16420,16454: 2008-06-15 14:01:45 +00:00
dir.c * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +00:00
dln.c merge revision(s) 16177: 2008-06-15 13:24:05 +00:00
dln.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +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 * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
env.h * merge -c 11965 2007-03-08 08:34:01 +00:00
error.c * eval.c (get_backtrace): check the result more. 2007-08-15 21:40:24 +00:00
eval.c merge revision(s) 16514: 2008-06-16 06:42:38 +00:00
file.c * file.c: fixes to compile on mswin32. Patch from U. Nakamura 2008-06-18 04:29:34 +00:00
gc.c merge revision(s) 15548: 2008-06-15 10:52:03 +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 (rb_hash_delete_key): delete the entry without calling block. 2007-08-15 23:45:25 +00:00
inits.c * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
install-sh 1.4.0 1999-08-13 05:45:20 +00:00
instruby.rb * instruby.rb: install *.exe.manifest and *.dll.manifest if exist. 2006-02-24 03:12:27 +00:00
intern.h * array.c (ary_new, rb_ary_initialize, rb_ary_store, 2008-06-19 23:12:46 +00:00
io.c merge revision(s) 15287: 2008-06-13 02:49:28 +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 * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
Makefile.in merge revision(s) 13515: 2008-06-04 07:40:54 +00:00
marshal.c merge revision(s) 17396: 2008-06-18 06:19:36 +00:00
math.c * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
mdoc2man.rb * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
missing.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
mkconfig.rb merge revision(s) 11594: 2008-06-16 08:12:50 +00:00
node.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
numeric.c merge revision(s) 16641: 2008-06-15 14:26:34 +00:00
object.c merge revision(s) 17396: 2008-06-18 06:19:36 +00:00
pack.c * merge -c 11935 2007-02-28 12:05:12 +00:00
parse.y merge revision(s) 16534: 2008-06-15 14:12:53 +00:00
prec.c * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
process.c merge revision(s) 16471: 2008-06-15 14:07:19 +00:00
random.c * random.c: documentation fix. srand(0) initializes PRNG with '0', 2007-08-15 19:52:39 +00:00
range.c * range.c (range_step): fixed integer overflow. [ruby-dev:31763] 2007-09-16 19:34:49 +00:00
re.c merge revision(s) 16239: 2008-06-15 13:31:28 +00:00
re.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
README Update the distribution information. 2007-02-20 07:52:06 +00:00
README.EXT * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +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:52:06 +00:00
regex.c merge revision(s) 16143: 2008-06-15 13:18:11 +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-16 19:51:38 +00:00
ruby.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
rubyio.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
rubysig.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
rubytest.rb * instruby.rb, rubytest.rb (srcdir): no longer embed srcdir into 2005-02-06 17:03:35 +00:00
runruby.rb * runruby.rb: should load built rbconfig.rb. 2005-06-23 14:56:40 +00:00
signal.c merge revision(s) 15476: 2008-06-15 10:00:21 +00:00
sprintf.c * array.c (ary_new, rb_ary_initialize, rb_ary_store, 2008-06-19 23:12:46 +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 merge revision(s) 17483: 2008-06-20 09:23:53 +00:00
struct.c merge revision(s) 16307: 2008-06-15 13:44:09 +00:00
time.c merge revision(s) 16114: 2008-06-15 13:16:03 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c merge revision(s) 16342: 2008-06-15 13:46:19 +00:00
util.h * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
variable.c * variable.c (rb_path2class): get rid of dangling pointer caused by 2007-08-15 19:31:03 +00:00
version.c * removed svn:keywords for compatibility. 2007-01-31 03:13:23 +00:00
version.h merge revision(s) 17483: 2008-06-20 09:23:53 +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_6/

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: