The Ruby Programming Language [mirror]
Go to file
eban 4de3dfd8d3 2003-01-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-01-06 09:35:51 +00:00
bcc32 * ruby.c (ruby_init_loadpath): under Windows, get the module 2003-01-05 01:40:24 +00:00
bin
cygwin * ruby.c (ruby_init_loadpath): under Windows, get the module 2003-01-05 01:40:24 +00:00
djgpp * configure.in: better DJGPP support. add GNUmakefile. 2003-01-01 09:26:45 +00:00
doc Really cvs rm these files from HEAD. 2002-12-31 21:01:40 +00:00
ext *** empty log message *** 2003-01-05 20:11:20 +00:00
lib * lib/fileutils.rb (ln): add ' -f' in the verbose message. 2003-01-06 09:34:16 +00:00
misc
missing
sample * eval.c (massign): removed awkward conversion between yvalue, 2003-01-01 03:24:29 +00:00
vms
win32 * process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn() 2003-01-06 04:30:27 +00:00
wince * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
x68
.cvsignore
COPYING
COPYING.ja
ChangeLog * lib/fileutils.rb (ln): add ' -f' in the verbose message. 2003-01-06 09:34:16 +00:00
GPL
LEGAL
LGPL
MANIFEST add djgpp/GNUmakefile 2003-01-01 10:05:46 +00:00
Makefile.in * Makefile.in, {win32,bcc32}/Makefile.sub: add new target: 2002-12-31 12:31:12 +00:00
README
README.EXT
README.EXT.ja
README.ja
ToDo
array.c * eval.c (massign): removed awkward conversion between yvalue, 2003-01-01 03:40:01 +00:00
bignum.c
class.c
compar.c
config.guess
config.sub
configure.in * configure.in: set rb_cv_need_io_flush_between_seek=yes. 2003-01-04 05:33:29 +00:00
defines.h FLUSH_REGISTER_WINDOWS must not be empty. Set to NULL instead. 2003-01-04 18:57:37 +00:00
dir.c
dln.c * configure.in: Improve OpenBSD support. [obtained from: OpenBSD 2002-12-31 10:53:14 +00:00
dln.h
dmyext.c
enum.c
env.h
error.c
eval.c * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an 2003-01-04 18:48:24 +00:00
file.c * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 2003-01-04 18:17:30 +00:00
gc.c * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an 2003-01-04 18:48:24 +00:00
hash.c * gc.c (gc_sweep): adjust GC trigger. 2002-12-29 14:51:22 +00:00
inits.c
install-sh
instruby.rb * instruby.rb: need paren in regexp(make -n install). 2003-01-05 07:04:10 +00:00
intern.h
io.c
keywords
lex.c
main.c
marshal.c
math.c
missing.h
mkconfig.rb * Makefile.in, {win32,bcc32}/Makefile.sub: add new target: 2002-12-31 12:31:12 +00:00
node.h * eval.c (massign): removed awkward conversion between yvalue, 2003-01-01 03:24:29 +00:00
numeric.c
object.c
pack.c
parse.y * eval.c (massign): removed awkward conversion between yvalue, 2003-01-01 03:24:29 +00:00
prec.c
process.c * process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn() 2003-01-06 04:30:27 +00:00
random.c
range.c * gc.c (gc_sweep): adjust GC trigger. 2002-12-29 14:51:22 +00:00
re.c
re.h
regex.c * regex.c (re_match): 2003-01-02 16:56:16 +00:00
regex.h
ruby.1 mdoc'ify. 2002-12-30 19:56:06 +00:00
ruby.c * ruby.c (ruby_init_loadpath): under Windows, get the module 2003-01-05 01:40:24 +00:00
ruby.h
rubyio.h
rubysig.h
rubytest.rb
signal.c
sprintf.c
st.c
st.h
string.c * string.c (rb_str_substr): should share the shared string if 2002-12-30 07:55:17 +00:00
struct.c * struct.c (make_struct): needs meta class. 2003-01-05 17:40:29 +00:00
time.c
util.c
util.h
variable.c
version.c
version.h 2003-01-06 2003-01-06 09:35:51 +00:00

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 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: