development fork of ruby/ruby
Перейти к файлу
usa f4d60b5f63 * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl.
* win32/win32.[ch] (fcntl): ditto.

* win32/win32.c (rb_w32_connect): support nonblocking mode.

* ext/socket/socket.c (wait_connectable, ruby_connect): support
  nonblocking connect on various platforms.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-09-07 03:52:15 +00:00
bcc32 * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl. 2004-09-07 03:52:15 +00:00
bin ri now merges the documentation if it finds the same class in multiple places 2004-08-30 14:22:26 +00:00
cygwin
djgpp
doc
ext * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl. 2004-09-07 03:52:15 +00:00
lib ri now merges the documentation if it finds the same class in multiple places 2004-08-30 14:22:26 +00:00
misc * io.c (rb_io_reopen): should clear allocated OpenFile. pointed 2004-08-17 09:02:40 +00:00
missing
sample
test check constants (Fcntl::F_SETFL, Fcntl::F_GETFL and Fcntl::O_NONBLOCK) 2004-08-16 05:07:49 +00:00
vms
win32 * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl. 2004-09-07 03:52:15 +00:00
wince * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl. 2004-09-07 03:52:15 +00:00
x68
.cvsignore
.document
COPYING
COPYING.ja
ChangeLog * {bcc32,win32,wince}/Makefile.sub (config.h): add fcntl. 2004-09-07 03:52:15 +00:00
GPL
LEGAL
LGPL
MANIFEST Add "usage" interface 2004-08-13 17:52:52 +00:00
Makefile.in
README
README.EXT
README.EXT.ja
README.ja
ToDo
array.c
ascii.c
bignum.c * struct.c (make_struct): remove redefining constant when 2004-09-03 09:00:52 +00:00
class.c
common.mk
compar.c
config.guess
config.sub
configure.in * configure.in (GNU/k*BSD): fixed FTBFS on GNU/k*BSD. [ruby-dev:24051] 2004-08-30 06:16:29 +00:00
defines.h
dir.c * dir.c (free_dir): fix memory leak. reported by yamamoto 2004-08-19 07:33:15 +00:00
dln.c
dln.h
dmyext.c
enum.c
env.h
error.c * bignum.c (rb_big_and): protect parameters from GC. 2004-08-28 14:14:11 +00:00
euc_jp.c
eval.c * eval.c (cvar_cbase): singletons should refer outer cvar scope. 2004-09-06 00:48:03 +00:00
file.c
gc.c
hash.c
inits.c
install-sh
instruby.rb
intern.h
io.c * bignum.c (rb_big_and): protect parameters from GC. 2004-08-28 14:14:11 +00:00
keywords
lex.c
main.c
marshal.c * io.c (rb_io_reopen): should clear allocated OpenFile. pointed 2004-08-17 09:02:40 +00:00
math.c * eval.c (cvar_cbase): class variables cause SEGV in 2004-09-03 17:41:27 +00:00
mdoc2man.rb
missing.h
mkconfig.rb
node.h
numeric.c
object.c Add documentation for Module#included 2004-08-30 14:23:19 +00:00
oniggnu.h
oniguruma.h
pack.c
parse.y * bignum.c (rb_big_and): protect parameters from GC. 2004-08-28 14:14:11 +00:00
prec.c
process.c * process.c (rb_proc_exec): label cannot precede variable declarations. 2004-09-01 10:28:45 +00:00
random.c
range.c
re.c
re.h
regcomp.c
regenc.c
regenc.h
regerror.c
regex.h
regexec.c
reggnu.c
regint.h
regparse.c
regparse.h
ruby.1
ruby.c
ruby.h
rubyio.h * rubyio.h (rb_eof_error): should mark as NORETURN. 2004-08-12 01:56:25 +00:00
rubysig.h
rubytest.rb
runruby.rb
signal.c
sjis.c
sprintf.c
st.c
st.h
string.c * dir.c (free_dir): fix memory leak. reported by yamamoto 2004-08-19 07:33:15 +00:00
struct.c * struct.c (make_struct): remove redefining constant when 2004-09-03 09:00:52 +00:00
time.c
utf8.c
util.c
util.h
variable.c
version.c
version.h 2004-09-06 2004-09-06 00:50:19 +00:00

README

* 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: