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
knu ec35b84429 * lib/tempfile.rb: Merge from 1.7: Add Tempfile#size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-11 07:17:18 +00:00
cygwin
djgpp * djgpp/config.hin, djgpp/config.sed: catch up with the latest change. 2002-05-16 06:18:26 +00:00
doc
ext * dir.c (rb_glob): add prototype of 2nd argument to avoid VC++ warning. 2002-09-08 10:25:43 +00:00
lib * lib/tempfile.rb: Merge from 1.7: Add Tempfile#size. 2002-09-11 07:17:18 +00:00
misc * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp 2002-09-07 14:37:26 +00:00
missing * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings. 2002-05-14 06:10:51 +00:00
sample * sampl/test.rb: use eval instead of './miniruby -c', 2002-05-17 07:35:24 +00:00
win32 * win32/win32.h (S_I?USR): define only if not mingw32. 2002-09-09 14:48:21 +00:00
x68
.cvsignore
array.c * array.c (sort_2): fatal typo. 2002-08-19 06:44:09 +00:00
bignum.c * array.c (sort_2): *a - *b may overflow. 2002-08-19 05:59:10 +00:00
ChangeLog * lib/tempfile.rb: Merge from 1.7: Add Tempfile#size. 2002-09-11 07:17:18 +00:00
class.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
compar.c
config.guess
config.sub * eval.c (blk_orphan): the wrong condition; backported from 1.7 2002-05-14 06:08:44 +00:00
configure.in * configure.in (seekdir, telldir): add ac_cv_func_telldir=yes, 2002-06-30 09:07:54 +00:00
COPYING
COPYING.ja
defines.h
dir.c * dir.c (rb_glob): add prototype of 2nd argument to avoid VC++ warning. 2002-09-08 10:25:43 +00:00
dln.c * dln.c: remove definition rb_loaderror(). 2002-06-25 09:44:57 +00:00
dln.h
dmyext.c
enum.c
env.h
error.c
eval.c * eval.c (rb_eval): overriding false constant with class/module 2002-09-05 04:12:40 +00:00
file.c * file.c (rb_path_check): nothing to check under DOSISH. 2002-09-05 20:53:31 +00:00
gc.c * gc.c (rb_gc): should mark parser. 2002-09-05 20:08:49 +00:00
GPL
hash.c * hash.c (rb_hash_equal): should check default values. 2002-08-12 07:40:41 +00:00
inits.c
install-sh
instruby.rb
intern.h * gc.c (rb_gc): should mark parser. 2002-09-05 20:08:49 +00:00
io.c * io.c (io_fread): return value was longer when EWOULDBLOCK 2002-08-01 04:54:35 +00:00
keywords
LEGAL
lex.c
LGPL
main.c
Makefile.in
MANIFEST
marshal.c * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
math.c * math.c (Init_Math): backport asin, acos, atan. 2002-06-05 09:54:09 +00:00
mkconfig.rb
node.h * eval.c (scope_node): trick to keep the node has a scope. 2002-05-28 03:20:04 +00:00
numeric.c * numeric.c (fix_lshift): negative shift count means right shift. 2002-06-10 10:15:00 +00:00
object.c * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
pack.c * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
parse.y * parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c. 2002-09-06 23:41:43 +00:00
prec.c
process.c
random.c
range.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
re.c * eval.c (rb_thread_cleanup): should not modify the global 2002-08-21 08:31:25 +00:00
re.h
README
README.EXT
README.EXT.ja
README.ja
regex.c * parse.y (read_escape): deny zero-width hexadecimal character. 2002-06-14 06:27:18 +00:00
regex.h
ruby.1
ruby.c * eval.c (rb_eval): overriding false constant with class/module 2002-09-05 04:12:40 +00:00
ruby.h * file.c (rb_find_file): load must be done from an abolute path if 2002-05-01 09:38:01 +00:00
rubyio.h
rubysig.h
rubytest.rb
signal.c
sprintf.c * string.c (rb_str_aset): should raise error if an indexing string 2002-06-04 07:11:56 +00:00
st.c
st.h
string.c * string.c (rb_str_slice_bang): if there's no corresponding 2002-07-11 08:24:54 +00:00
struct.c
time.c * eval.c (rb_undef): undef should be done for klass, not ruby_class. 2002-07-31 05:17:29 +00:00
ToDo
util.c
util.h
variable.c * eval.c, gc.c, intern.h, variable.c: declare rb_gc_mark{,maybe}() 2002-05-04 12:04:52 +00:00
version.c
version.h 2002-09-09 2002-09-09 13:11: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 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: