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
svn 8162423870 * 2009-03-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-16 06:30:57 +00:00
bcc32 * Makefile.in, common.mk, {bcc,win}32/Makefile.sub (clean-ext): do not 2008-08-07 07:28:56 +00:00
bin
cygwin
djgpp
doc
ext * ext/extmk.rb (extmake): removes object files no longer used and 2009-03-03 08:10:10 +00:00
lib * lib/fileutils.rb (FileUtils#fu_get_gid): stringify group 2009-03-13 16:13:40 +00:00
misc * misc/ruby-style.el (ruby-style-c-mode): buffer may not have file 2008-10-09 14:53:26 +00:00
missing
sample
test * test/openssl/test_ssl.rb (OpenSSL#test_client_session): 2009-03-12 06:28:07 +00:00
vms
win32 * mkconfig.rb: patchlevel is sometimes minus. 2009-03-12 04:03:41 +00:00
wince * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
x68
.cvsignore
.document
array.c * array.c (rb_ary_aset): fixed arguments evaluation order. 2009-01-26 07:00:43 +00:00
bignum.c * bignum.c (rb_big2str0, bigsqr): made interruptible. [ruby-Bugs-20622] 2008-07-25 09:04:19 +00:00
ChangeLog * gc.c (run_final): frees zombies only. [ruby-dev:38171] 2009-03-15 03:50:25 +00:00
class.c * class.c (rb_singleton_class_clone): Qnil must be used for a null 2009-02-28 18:12:15 +00:00
common.mk * common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile. 2009-03-13 10:40:11 +00:00
compar.c
config.guess * config.{guess,sub}: updated to automake-1.10.1. 2008-08-10 03:29:21 +00:00
config.sub * config.{guess,sub}: updated to automake-1.10.1. 2008-08-10 03:29:21 +00:00
configure.in * configure.in (MAJOR, MINOR, TEENY): uses RUBY_VERSION_*. 2009-02-17 08:00:50 +00:00
COPYING
COPYING.ja
defines.h * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dir.c * dir.c (dir_globs): need taint check. reported by steve 2008-10-31 04:39:57 +00:00
distruby.rb
dln.c * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dln.h
dmydln.c
dmyext.c
enum.c
enumerator.c * enumerator.c: Introduce id_each to save rb_itern() and SYM2ID() 2009-02-02 12:06:12 +00:00
env.h * eval.c (rb_call0): should pass rest argument information even 2009-03-13 16:14:40 +00:00
error.c * error.c (rb_exc_new3): keeps the given string itself. 2008-07-02 22:03:24 +00:00
eval.c * eval.c (stack_extend): suppressed a warning. 2009-03-16 06:30:54 +00:00
file.c * file.c: include fcntl.h for O_RDONLY on Solaris. 2009-03-07 05:58:09 +00:00
gc.c * gc.c (run_final): frees zombies only. [ruby-dev:38171] 2009-03-15 03:50:25 +00:00
GPL
hash.c * hash.c (rb_hash_s_create): set nil as the value if assoc length 2009-01-11 00:42:30 +00:00
ia64.s
inits.c * eval.c (Init_Cont): separated from Init_Thread() since 2009-01-26 09:03:53 +00:00
install-sh
instruby.rb
intern.h * pack.c (rb_utf8_to_uv), intern.h: Rename utf8_to_uv to 2008-12-03 07:36:31 +00:00
io.c update rdoc. 2009-02-07 14:50:58 +00:00
keywords
KNOWNBUGS.rb Add a comment. 2008-07-15 12:50:24 +00:00
LEGAL
lex.c
LGPL
main.c * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
Makefile.in * common.mk (main): split from exts and makes main program after 2009-02-24 10:01:08 +00:00
marshal.c Fix grammos regarding the verb "refer". 2009-02-10 09:05:28 +00:00
math.c * math.c (domain_check): fix preprocess condition. 2008-06-29 02:00:31 +00:00
mdoc2man.rb
missing.h * missing.h: needs RUBY_EXTERN instead of extern for mswin. 2008-11-03 07:32:57 +00:00
mkconfig.rb * mkconfig.rb (patchlevel): config.status may not contain 2009-03-13 10:41:10 +00:00
NEWS Rephrase a confusing entry and fix a minor nit. 2009-02-27 08:41:56 +00:00
node.h * node.h (rb_thread_raised_clear): should not clear flags other than 2009-01-19 19:01:44 +00:00
numeric.c * numeric.c (ruby_float_step): extracted from num_step(). 2009-01-04 02:58:45 +00:00
object.c * object.c (rb_any_to_a): Always use "... is deprecated" for a 2008-12-17 11:00:23 +00:00
pack.c * pack.c (pack_pack): fixed odd act of 'm*', 'M*', and 'P*'. 2008-12-08 14:41:44 +00:00
parse.y * parse.y (IS_BEG): EXPR_CLASS should be treated like EXPR_BEG. 2009-01-20 09:37:40 +00:00
prec.c
process.c * process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined. 2008-06-26 13:10:39 +00:00
random.c * array.c (rb_ary_sample): rename #choice to #sample. in 2008-08-12 05:08:52 +00:00
range.c * numeric.c (ruby_float_step): extracted from num_step(). 2009-01-04 02:58:45 +00:00
re.c * re.c (match_check): check if MatchData is initialized. 2009-02-03 03:31:07 +00:00
re.h
README
README.EXT Improve documentation of rb_scan_args(). 2009-02-16 05:58:01 +00:00
README.EXT.ja Improve documentation of rb_scan_args(). 2009-02-16 05:58:01 +00:00
README.ja
regex.c * regex.c (re_compile_pattern): \s should include \v too. 2009-02-23 22:11:53 +00:00
regex.h
ruby.1
ruby.c * ruby.c: Mac OS X needs origargc times of '\0' in origargv. [ruby-dev:35308] 2008-07-03 10:46:06 +00:00
ruby.h * include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of 2008-07-03 07:48:09 +00:00
rubyio.h
rubysig.h * eval.c (rb_thread_schedule): runs deferred finalizers. 2008-08-02 07:08:18 +00:00
rubytest.rb * lib/date.rb (once): Use Object#object_id instead of Symbol#to_i; 2008-12-17 11:07:32 +00:00
runruby.rb
signal.c
sprintf.c
st.c
st.h
string.c * string.c (get_arg_pat): no second parameter. 2009-02-17 03:53:53 +00:00
struct.c * gc.c: __size__ removed. use the length of __members__ instead. 2008-06-27 12:56:45 +00:00
time.c * time.c: RDoc typo fixed. 2008-11-24 14:48:37 +00:00
ToDo
util.c * util.c (rv_strdup): macro to duplicate nul-terminated string. 2009-03-14 05:21:58 +00:00
util.h
variable.c Fix grammos regarding the verb "refer". 2009-02-10 09:05:28 +00:00
version.c * version.c, version.h: NO_STRING_LITERAL_CONCATENATION support. 2009-02-17 08:02:47 +00:00
version.h * 2009-03-16 2009-03-16 06:30:57 +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.

     Some C compiler flags may be added by default depending on your
     environment.  Specify optflags=.. and warnflags=.. as necessary
     to override them.

  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: