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
akr d55a8bb505 revert previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-22 16:03: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
cygwin
djgpp
doc revert previous commit. 2008-04-22 16:03:08 +00:00
ext * ext/openssl/ossl_ssl.c: initialize session class. 2008-04-20 05:33:56 +00:00
lib * lib/tempfile.rb (Tempfile::_close): check @data before modifying 2008-04-21 06:54:48 +00:00
misc Mention the ruby-debug project at RubyForge in README. 2008-04-10 11:39:04 +00:00
missing * configure.in (RUBY_CHECK_VARTYPE): check if a variable is defined 2007-12-14 01:01:42 +00:00
sample * lib/date.rb, lib/date/format.rb: introduced some constants 2008-01-06 00:39:44 +00:00
test * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve tests of Symbol#to_proc. 2008-04-22 15:25:23 +00:00
vms
win32 * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
wince * win{32,ce}/Makefile.sub: merged. 2008-01-08 11:02:10 +00:00
x68
.cvsignore
.document
array.c * array.c (rb_ary_equal, rb_ary_eql, rb_ary_hash, rb_ary_cmp): 2008-04-19 11:11:25 +00:00
bignum.c * bignum.c (rb_big_div): Bignum#div should return integer for 2008-04-01 11:33:27 +00:00
ChangeLog * eval.c (error_print): show full stack grace except SystemStackError. 2008-04-22 15:44:40 +00:00
class.c * class.c (clone_method): should copy cref as well. 2008-03-29 15:47:54 +00:00
common.mk * enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h, 2008-04-09 11:13:04 +00:00
compar.c
config.guess
config.sub
configure.in * configure.in: get rid of empty expansion. 2008-04-01 05:43:40 +00:00
COPYING
COPYING.ja
defines.h * defines.h (WORDS_BIGENDIAN): honor __BIG_ENDIAN__ than the result of 2008-01-11 02:57:38 +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: use dlopen on Mac OS X 10.3 or later. backport from trunk. 2008-01-11 02:50:38 +00:00
dln.h
dmydln.c
dmyext.c
enum.c * enum.c (inject_i, inject_op_i): prototype. 2008-04-14 10:19:41 +00:00
enumerator.c * enumerator.c (enumerator_initialize): Remove an undocumented 2008-04-22 10:39:19 +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 (error_print): show full stack grace except SystemStackError. 2008-04-22 15:44:40 +00:00
file.c * file.c (eaccess): workaround for recent msvcrt's behavior. 2008-04-22 01:06:08 +00:00
gc.c * signal.c, gc.c: New methods: GC.stress, GC.stress=; 2008-04-15 07:54:11 +00:00
GPL
hash.c * hash.c (recursive_hash): prototype. 2008-04-21 01:03:00 +00:00
ia64.s
inits.c * enumerator.c, inits.c (rb_call_inits), ruby.h, intern.h, 2008-04-09 11:13:04 +00:00
install-sh
instruby.rb * instruby.rb (open_for_install): write block result and rewrite only 2008-03-21 00:24:30 +00:00
intern.h * eval.c (rb_proc_new, YIELD_FUNC_LAMBDA): Add a new nd_state 2008-04-22 13:51:44 +00:00
io.c * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
keywords
LEGAL
lex.c
LGPL
main.c
Makefile.in * Makefile.in (RUNRUBY): added RUNRUBYOPT. 2007-12-17 03:21:27 +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
missing.h
mkconfig.rb * mkconfig.rb: should not use the libraries under the source directory 2007-12-27 14:56:04 +00:00
NEWS * eval.c (rb_proc_new): Turn the BLOCK_LAMBDA flag on. 2008-04-22 12:42:57 +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 * parse.y (yycompile): Always prepare a new array for each file's 2008-03-24 10:45:28 +00:00
prec.c
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_each, range_step): Return an enumerator if no 2008-04-14 04:22:44 +00:00
re.c * re.c (match_inspect): backported from 1.9. 2008-04-15 11:45:17 +00:00
re.h
README Update the distribution information. 2007-02-20 07:37:23 +00:00
README.EXT
README.EXT.ja
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
ruby.1
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
rubytest.rb
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
st.h
string.c * random.c (rb_genrand_int32, rb_genrand_real), intern.h: Export. 2008-04-14 10:52:17 +00:00
struct.c * range.c (range_each, range_step): Return an enumerator if no 2008-04-14 04:22:44 +00:00
time.c * time.c: should include <errno.h> to refer errno. 2008-04-21 01:17:41 +00:00
ToDo
util.c * util.c (valid_filename): use O_EXCL to get rid of clobbering 2008-02-23 18:53:00 +00:00
util.h
variable.c * variable.c (rb_global_entry, rb_f_untrace_var, rb_alias_variable, 2007-06-17 16:12:32 +00:00
version.c
version.h * test/ruby/test_symbol.rb (TestSymbol#test_to_proc): Improve tests of Symbol#to_proc. 2008-04-22 15:25:23 +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: