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 c93458e0e6 This even fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07 04:59:00 +00:00
bcc32 * configure.in, common.mk, */configure.bat (rdoc): make before 2009-09-14 02:23:47 +00:00
bin
cygwin
djgpp
doc
ext * ext/rational/rational.c: Added to provide a fast implementation 2010-02-05 14:11:08 +00:00
lib * random.c (fill_random_seed): don't use O_NOFOLLOW because 2010-02-05 15:04:38 +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
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 This even fails. 2010-02-07 04:59:00 +00:00
vms
win32 * configure.in: check for if struct timezone is defined. 2010-01-12 21:54:47 +00:00
wince * configure.in, common.mk, */configure.bat (rdoc): make before 2009-09-14 02:23:47 +00:00
x68
.cvsignore
.document
array.c * array.c (rb_ary_sample): Fix infinite loop bug [ruby-core:27075] 2009-12-06 21:43:46 +00:00
bignum.c * time.c: rdoc fix for <=> 2009-10-28 05:01:29 +00:00
ChangeLog * parse.y: Get rid of tags for Ripper, pointless in 1.8. 2010-02-06 19:04:07 +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 (install-rdoc), configure.in (RDOCTARGET): removed 2009-09-15 06:16:16 +00:00
compar.c * time.c: rdoc fix for <=> 2009-10-28 05:01:29 +00:00
config.guess
config.sub
configure.in * configure.in: check for if struct timezone is defined. 2010-01-12 21:54:47 +00:00
COPYING
COPYING.ja
defines.h
dir.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
distruby.rb
dln.c * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from 2009-11-30 07:54:26 +00:00
dln.h
dmydln.c
dmyext.c
enum.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
enumerator.c * enumerator.c: Remove a duplicated declaration. 2009-12-31 14:43:50 +00:00
env.h
error.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
eval.c * eval.c (rb_mod_define_method): return original block but not 2010-02-01 07:43:10 +00:00
file.c * time.c: rdoc fix for <=> 2009-10-28 05:01:29 +00:00
gc.c Merged r22308. [ruby-dev:39637] 2009-11-05 12:22:24 +00:00
GPL
hash.c * hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10. 2009-11-14 07:43:26 +00:00
ia64.s
inits.c
install-sh
instruby.rb * instruby.rb: win32/win32.h exists in srcdir. 2009-09-24 06:54:20 +00:00
intern.h * object.c, intern.h: Export rb_sym_to_s. 2009-12-31 15:14:00 +00:00
io.c * io.c, eval.c, process.c: add __APPLE__ to r26371's condition. 2010-01-27 05:11:17 +00:00
keywords * parse.y: Support for { key: value } -style hash immediates. 2009-07-31 08:33:43 +00:00
KNOWNBUGS.rb
LEGAL
lex.c * lex.c: update. 2009-07-31 23:00:07 +00:00
LGPL
main.c
Makefile.in * Makefile.in (clean-ext): allow glob patterns. 2010-01-19 05:29:18 +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
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 * ext/rational/rational.c: Added to provide a fast implementation 2010-02-05 14:11:08 +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, intern.h: Export rb_sym_to_s. 2009-12-31 15:14:00 +00:00
pack.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
parse.y * parse.y: Get rid of tags for Ripper, pointless in 1.8. 2010-02-06 19:04:07 +00:00
prec.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
process.c * io.c, eval.c, process.c: add __APPLE__ to r26371's condition. 2010-01-27 05:11:17 +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.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.ja: code for THINK_C does not exist already. [Bug #1435] 2009-05-06 00:27:10 +00:00
regex.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
regex.h * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
ruby.1
ruby.c * ruby.c (load_file): preserves $.. [ruby-core:24024] 2009-06-25 06:53:28 +00:00
ruby.h * ruby.h (RB_GC_GUARD_PTR): workaround for gcc optimization. 2010-01-08 08:02:46 +00:00
rubyio.h
rubysig.h
rubytest.rb
runruby.rb
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
st.h
string.c * string.c (rb_str_split): add rdoc. 2010-01-25 17:27:50 +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
util.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
util.h
variable.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
version.c * *.[chy]: removed trailing spaces. 2009-10-22 01:00:18 +00:00
version.h * 2010-02-07 2010-02-06 19:04:12 +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: