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 52ae6c71b5 * 2010-06-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10 05:51:14 +00:00
bcc32 * Makefile.in, common.mk, win32/Makefile.sub (REVISION_H): move 2010-05-15 03:36:03 +00:00
bin * ext/tk/lib/tk/canvas.rb (TkCanvasItemConfig::__item_val2ruby_optkeys): 2005-10-24 00:07:01 +00:00
cygwin * Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load 2005-09-06 23:23:04 +00:00
djgpp * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch files. 2006-12-21 07:15:01 +00:00
doc * doc/etc.rd, doc/etc.rd.ja: moved from ext/etc. 2010-04-23 05:07:38 +00:00
ext * ext/dl/dl.c (rb_dl_strdup): strdup() only allocates a buffer of 2010-06-10 05:51:12 +00:00
lib * lib/matrix.rb: Matrix library copied from 1.9. It is now identical 2010-06-05 04:31:47 +00:00
misc * misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-doc 2010-01-12 03:49:42 +00:00
missing * lib/rdoc.rb: massive spelling correction patch from Evan Farrar 2008-06-04 09:39:55 +00:00
sample merge r23443. 2009-05-16 10:34:59 +00:00
template * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350] 2009-04-03 09:34:24 +00:00
test * regexp.c (re_compile_pattern): allow zero times match for 2010-06-07 06:14:46 +00:00
vms * configure.in: Check for the availability of pid_t, gid_t and uid_t and 2005-05-14 14:57:53 +00:00
win32 * include/ruby/win32.h: include errno.h before defining errnos. 2010-06-07 09:20:12 +00:00
wince * configure.in, common.mk, */configure.bat (rdoc): make before 2009-09-14 02:23:47 +00:00
x68 Initial revision 1998-01-16 12:13:05 +00:00
.cvsignore * .cvsignore: ignore timestamp files and installed list file. 2006-09-21 17:06:50 +00:00
.document * prelude.rb (Process.daemon): New method. 2010-03-29 17:41:32 +00:00
.gdbinit * .gdbinit: classic version. 2010-06-01 23:28:46 +00:00
.gitignore * .gitignore: added. 2010-04-12 03:30:50 +00:00
array.c * array.c (rb_ary_product): Use tmpary instead, to ensure marking 2010-05-28 08:51:41 +00:00
bignum.c * pack.c (pack_pack): call rb_quad_pack to preserve RangeError. 2010-05-11 13:56:34 +00:00
ChangeLog * ext/dl/dl.c (rb_dl_strdup): strdup() only allocates a buffer of 2010-06-10 05:51:12 +00:00
class.c * class.c (rb_define_class): raise TypeError same as class 2010-01-09 19:54:38 +00:00
common.mk * common.mk (EXPORTOBJS): merged r24482 from trunk. [Bug #3326] 2010-05-20 23:38:20 +00:00
compar.c * time.c: rdoc fix for <=> 2009-10-28 05:01:29 +00:00
compile_prelude.rb * prelude.rb, Makefile.in, common.mk: Introduce prelude.rb. 2010-03-25 19:11:51 +00:00
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 (USE_WINSOCK2): ws2tcpip.h needs listed here. 2010-06-08 09:34:43 +00:00
COPYING * prec.c (prec_prec_f): documentation patch from 2006-04-09 16:10:40 +00:00
COPYING.ja Rename *.jp to *.ja, since jp is a region code and ja is a language 2001-07-19 05:44:26 +00:00
defines.h * dln.c: newer BeOS support. a patch from Pete Goodeve 2008-09-19 00:32:22 +00:00
dir.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
distruby.rb * distruby.rb: Add zip generation. 2007-03-20 07:37:34 +00:00
dln.c * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from 2009-11-30 07:54:26 +00:00
dln.h Updated Copyrights of Matz to 2003. 2003-01-16 07:34:03 +00:00
dmydln.c This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2005-04-20 14:25:35 +00:00
dmyext.c Initial revision 1998-01-16 12:13:05 +00:00
enum.c * enum.c (Enumerable#each_entry): New method. 2010-03-26 03:45:32 +00:00
enumerator.c * enumerator.c: Remove a duplicated declaration. 2009-12-31 14:43:50 +00:00
env.h * eval.c (rb_call0): should pass rest argument information even 2009-03-13 16:14:40 +00:00
error.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
eval.c * io.c, eval.c, process.c: remove all condition of r26371. 2010-05-23 20:00:48 +00:00
file.c * file.c (file_expand_path): revert a part of r22392. it's commit miss. 2010-05-26 11:04:43 +00:00
gc.c Merged r22308. [ruby-dev:39637] 2009-11-05 12:22:24 +00:00
GPL * It is confusing to put the GPL license terms in the file COPYING; 2001-07-11 19:25:52 +00:00
hash.c * hash.c (Hash#merge doc): Added explanation for form with block. 2010-03-06 17:18:53 +00:00
ia64.s This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. 2006-01-01 08:12:39 +00:00
inits.c * eval.c (Init_Cont): separated from Init_Thread() since 2009-01-26 09:03:53 +00:00
install-sh 1.4.0 1999-08-13 05:45:20 +00:00
instruby.rb * instruby.rb (install-man): install mdocs directly without 2010-05-07 02:31:53 +00:00
intern.h * pack.c: backport integer pack/unpack from 1.9 for [ruby-core:21937]. 2010-05-10 20:53:33 +00:00
io.c * io.c, eval.c, process.c: remove all condition of r26371. 2010-05-23 20:00:48 +00:00
keywords * parse.y: Support for { key: value } -style hash immediates. 2009-07-31 08:33:43 +00:00
KNOWNBUGS.rb Add a comment. 2008-07-15 12:50:24 +00:00
LEGAL * LEGAL: separated the section for parse.c. contributed by Paul 2010-04-12 12:47:43 +00:00
lex.c * lex.c: update. 2009-07-31 23:00:07 +00:00
LGPL * It is confusing to put the GPL license terms in the file COPYING; 2001-07-11 19:25:52 +00:00
main.c * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert), 2008-08-09 23:15:08 +00:00
Makefile.in * Makefile.in, common.mk, win32/Makefile.sub (REVISION_H): move 2010-05-15 03:36:03 +00:00
marshal.c * marshal.c (marshal_load): should set taintness. [ruby-dev:39723] 2009-12-04 12:51:32 +00:00
math.c * math.c (domain_check): check errno first. 2010-01-17 10:24:27 +00:00
mdoc2man.rb * mdoc2man.rb: Properly put nested braces, parentheses and angles. 2003-01-20 12:10:40 +00:00
miniprelude.c * prelude.rb, Makefile.in, common.mk: Introduce prelude.rb. 2010-03-25 19:11:51 +00:00
missing.h * configure.in: check for if struct timezone is defined. 2010-01-12 21:54:47 +00:00
mkconfig.rb * mkconfig.rb: reverted r25443 because build_os is used in mkmf.rb 2009-10-26 23:56:13 +00:00
NEWS * lib/matrix.rb: Matrix library copied from 1.9. It is now identical 2010-06-05 04:31:47 +00:00
node.h * node.h (rb_thread_status): ISO C89 do not allow a comma at the end of enum. 2009-08-01 21:11:40 +00:00
numeric.c * time.c: rdoc fix for <=> 2009-10-28 05:01:29 +00:00
object.c * object.c (rb_obj_singleton_class): new method 2010-03-25 18:09:57 +00:00
pack.c update doc. 2010-05-11 13:57:47 +00:00
parse.y * parse.y: Revert r26609, r26160, r25658 and r24695. The loose 2010-02-23 15:45:50 +00:00
prec.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
prelude.rb * prelude.rb (Process.daemon): New method. 2010-03-29 17:41:32 +00:00
process.c * io.c, eval.c, process.c: remove all condition of r26371. 2010-05-23 20:00:48 +00:00
random.c * random.c (fill_random_seed): don't use O_NOFOLLOW because 2010-02-05 15:04:38 +00:00
range.c * range.c (range_eql): fixed rdoc. 2009-05-07 04:58:54 +00:00
re.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
re.h * re.h (RMATCH_REGS): added for compatibility. 2009-07-18 02:15:44 +00:00
README * README: update. 2010-05-06 03:12:28 +00:00
README.EXT * README.EXT, README.EXT.ja (Convert VALUE into C data): 2009-06-04 00:50:26 +00:00
README.EXT.ja * README.EXT, README.EXT.ja (Convert VALUE into C data): 2009-06-04 00:50:26 +00:00
README.ja * README: update. 2010-05-06 03:12:28 +00:00
regex.c * regexp.c (re_compile_pattern): allow zero times match for 2010-06-07 06:14:46 +00:00
regex.h * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
ruby.1 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed 2006-03-11 08:27:43 +00:00
ruby.c * ruby.c (get_arglen): skip the last terminator of argv before 2010-04-24 04:06:59 +00:00
ruby.h * pack.c: backport integer pack/unpack from 1.9 for [ruby-core:21937]. 2010-05-10 20:53:33 +00:00
rubyio.h * rubyio.h (rb_io_t): renamed from OpenFile. 2008-04-15 03:35:55 +00:00
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 * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default 2007-05-22 20:48:34 +00:00
signal.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
sprintf.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
st.c * ruby.h: use ifdef (or defined) for macro constants that may or 2006-07-31 06:34:10 +00:00
st.h * st.h (st_data_t): use pointer sized integer for st_data_t. 2006-07-10 01:30:14 +00:00
string.c * string.c (rb_string_value_cstr): make NUL terminated if it is 2010-04-14 06:58:13 +00:00
struct.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
time.c * time.c (time_asctime): workaround for MSVCRT's bug. 2009-12-02 02:22:19 +00:00
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines. 2003-05-08 09:45:52 +00:00
util.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
util.h * ext/readline/readline.c (readline_readline): type check. 2005-10-30 18:20:54 +00:00
variable.c * variable.c, intern.h: Add rb_const_remove(). 2010-03-25 18:59:19 +00:00
version.c * version.c (ruby_description): RUBY_REVISION_STR may be empty. 2010-05-16 15:43:51 +00:00
version.h * 2010-06-10 2010-06-10 05:51:14 +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'

     This command will create following directories and install files
     onto them.

       * ${DESTDIR}${prefix}/bin
       * ${DESTDIR}${prefix}/lib
       * ${DESTDIR}${prefix}/lib/ruby
       * ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}
       * ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}/${PLATFORM}
       * ${DESTDIR}${prefix}/share/man/man1

     If Ruby's version is `x.y.z', the ((|${MAJOR}|)) is `x' and the
     ((|${MINOR}|)) is `y'.

     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: