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 e247c4e598 set svn:eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@11708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-12 23:01:19 +00:00
bin
cygwin * cygwin/GNUmakefile: allow "B" type in defined symbols. 2003-11-02 08:57:34 +00:00
djgpp
doc
ext * ext/socket/extconf.rb: Merge from 1.8: explicity specify 2004-04-16 05:01:34 +00:00
lib * eval.c (method_arity): should handle NODE_BMETHOD and 2004-10-24 23:37:23 +00:00
misc
missing
sample * dir.c (push_braces): do not push_braces() unless rbrace is found. 2003-05-19 16:20:30 +00:00
win32 * win32/win32.c (flock): maps error code. 2003-02-28 13:54:01 +00:00
x68
.cvsignore
array.c
bignum.c
ChangeLog * eval.c (rb_call0): wrong condition for $SAFE restoration. 2005-09-01 09:39:00 +00:00
class.c
compar.c
config.guess
config.sub
configure.in * intern.h (rb_define_private_method): duplicated. 2003-02-23 11:22:29 +00:00
COPYING
COPYING.ja
defines.h
dir.c * dir.c (push_braces): do not push_braces() unless rbrace is found. 2003-05-19 16:20:30 +00:00
dln.c * dln.c (dln_find_1): break if path list end, even for too long 2003-03-26 11:27:00 +00:00
dln.h
dmyext.c
enum.c
env.h
error.c * error.c (get_syserr): typo fix. 2003-02-04 07:13:16 +00:00
eval.c * eval.c (rb_call0): wrong condition for $SAFE restoration. 2005-09-20 16:49:26 +00:00
file.c
gc.c * gc.c (rb_gc_mark_locations): remove margin. [ruby-dev:20462] 2003-06-28 03:28:53 +00:00
GPL
hash.c
inits.c
install-sh
instruby.rb * instruby.rb: do not install shared libraries as man pages. 2003-07-09 07:13:21 +00:00
intern.h * intern.h (rb_define_private_method): duplicated. 2003-02-23 11:22:29 +00:00
io.c * eval.c (method_arity): should handle NODE_BMETHOD and 2004-10-24 23:37:23 +00:00
keywords
LEGAL
lex.c
LGPL
main.c
Makefile.in * mdoc2man.rb: New file. A mdoc to man converter ported from 2003-02-20 14:15:04 +00:00
MANIFEST
marshal.c
math.c * math.c (math_log): nan takes a dummy argument on Cygwin 1.5.0. backport from 2003-08-03 07:00:21 +00:00
mdoc2man.rb
mkconfig.rb
node.h
numeric.c
object.c
pack.c
parse.y * parse.y (void_expr0): node might become NULL after calling 2003-04-19 18:19:34 +00:00
prec.c * io.c (argf_getline): should not increment lineno at EOF. 2003-02-04 06:52:31 +00:00
process.c
random.c
range.c
re.c * io.c (argf_getline): should not increment lineno at EOF. 2003-02-04 06:52:31 +00:00
re.h
README
README.EXT
README.EXT.ja
README.ja
regex.c * regex.c (mbctab_sjis): 0x80 is not shift jis first byte. 2003-07-09 14:52:20 +00:00
regex.h
ruby.1
ruby.c * ruby.c (proc_options): script argument is in effect only when -e is not given. 2003-02-13 03:02:19 +00:00
ruby.h
rubyio.h
rubysig.h
rubytest.rb
signal.c
sprintf.c
st.c
st.h
string.c * string.c (rb_str_dup): set FL_EXIVAR when copied generic ivar. 2003-02-25 15:05:03 +00:00
struct.c
time.c * io.c (argf_getline): should not increment lineno at EOF. 2003-02-04 06:52:31 +00:00
ToDo
util.c
util.h
variable.c
version.c
version.h * eval.c (rb_call0): wrong condition for $SAFE restoration. 2005-09-20 16:49:26 +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 can be found on:

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

You can get it by anonymous CVS.  How to check out is:

  $ cvs -d :pserver:anonymous@cvs.ruby-lang.org:/src login
  (Logging in to anonymous@cvs.ruby-lang.org)
  CVS password: anonymous
  $ cvs -z4 -d :pserver:anonymous@cvs.ruby-lang.org:/src checkout ruby


* 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.  Probably this step will not need.

  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: