Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The Ruby Programming Language
Ruby C C++ HTML Yacc Makefile Other

Tags branches/ruby_1_9_3@32780 as v1_9_3_preview1.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_3_preview1@32789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
latest commit c8c4432f1c
@yugui yugui authored
Failed to load latest commit information.
bcc32
benchmark * benchmark/driver.rb: Add difference column to report that averages
bin
bootstraptest
cygwin
defs * defs/default_gems: separate from tool/rbinstall.rb.
doc
enc * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
ext * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].
include
lib
man
misc * misc/ruby-mode.el (ruby-indent-beg-re): Fix broken regular
missing * missing/lgamma_r.c (lgamma_r): get rid of false warning on mingw.
sample * remove trailing spaces.
spec
symbian
template * template/fake.rb.in (CROSS_COMPILING): get rid of NameError.
test
tool * defs/default_gems: separate from tool/rbinstall.rb.
win32 * common.mk (ECHO1): ":" in a make variable replacement cause a syntax
.document
.gdbinit * .gdbinit (rp): show type name for RTypedData.
.gitignore
.indent.pro * .indent.pro: added for ruby-style.
BSDL Add BSDL file.
COPYING * COPYING: change Ruby's License from a dual license with GPLv2
COPYING.ja * COPYING: change Ruby's License from a dual license with GPLv2
ChangeLog * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
GPL
KNOWNBUGS.rb indented.
LEGAL
Makefile.in * common.mk (node_name.inc): Use $(Q) for consistency.
NEWS
README * README: update.
README.EXT * README.EXT: fix typo. Patch by William Blackerby.
README.EXT.ja * README.EXT: fix typo. Patch by William Blackerby.
README.ja
ToDo
addr2line.c * addr2line.c: use USE_ELF instead of __ELF__ because Solaris
addr2line.h
array.c * array.c (ary_reject_bang): should not remove elements which are
atomic.h * atomic.h (ATOMIC_OR): _InterlockedOr is unavailable in VC6.
bignum.c
class.c
common.mk
compar.c * array.c: Documentation: change => in call-seq to ->.
compile.c * compile.c (when_vals): when a string literal is written on when
complex.c * complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
configure.in * configure.in: fix typos.
constant.h * constant.h, variable.c: to ensure compatibility, rb_const_get_* must
cont.c * cont.c (FIBER_MACHINE_STACK_ALLOCATION_SIZE): Fiber stack size
debug.c * debug.c: parenthesize macro arguments.
debug.h
dir.c * dir.c: Make RDoc more precise about order of Dir.glob
dln.c * dln.c (init_funcname_len): ignore rest from first dot.
dln.h * configure.in (XCFLAGS): use -fvisibility=hidden if possible.
dln_find.c
dmydln.c
dmyencoding.c * encoding.c (enc_init_db): moved to enc/encdb.c.
dmyext.c * array.c: moved to ANSI function style from K&R function style.
dmyversion.c
encoding.c * encoding.c (rb_enc_set_index, rb_enc_associate_index): should
enum.c
enumerator.c
error.c
eval.c
eval_error.c
eval_intern.h
eval_jump.c cancel subversion backfire. sorry
file.c * backport r32579, r32581, r32587 by akr and r32588 by kazu.
gc.c * backport r32669 from trunk.
gc.h * eval.c (ruby_cleanup): use rb_ary_free to free internal object.
gem_prelude.rb * ruby.c (process_options): revert r30549.
golf_prelude.rb cancel subversion backfire. sorry
goruby.c stripped trailing spaces.
hash.c * hash.c: Document ENV
ia64.s add reference.
id.c * id.c (Init_id): add underscore name.
inits.c
insns.def
internal.h
io.c
iseq.c * method.h, internal.h iseq.h: declare internal functions.
iseq.h * method.h, internal.h iseq.h: declare internal functions.
lex.c.blt * defs/keywords (reserved_word): made inline function static.
load.c * load.c (rb_f_autoload): prevent to autoload for singleton
main.c * main.c: <stdlib.h> is needed, to introduce the getenv(3)
marshal.c
math.c
method.h
node.c
node.h
numeric.c
object.c * object.c: Add usage documentation for BasicObject. Based on patch
pack.c * remove trailing spaces.
parse.y * parse.y (rb_enc_symname2_p): get rid of potential out-of-bound
prelude.rb * remove trailing spaces.
proc.c
process.c
random.c * backport r32579, r32581, r32587 by akr and r32588 by kazu.
range.c
rational.c * internal.h: declare internal functions here.
re.c * internal.h: declare internal functions here.
regcomp.c
regenc.c Clean a warning.
regenc.h * configure.in (XCFLAGS): use -fvisibility=hidden if possible.
regerror.c * removed spaces just before tabs.
regexec.c Fix type of arguments in debug prints.
regint.h
regparse.c * addr2line.c: suppressed shorten-64-to-32 warnings.
regparse.h * addr2line.c: suppressed shorten-64-to-32 warnings.
regsyntax.c stripped trailing spaces.
ruby.c * backport r32579, r32581, r32587 by akr and r32588 by kazu.
safe.c fixed very important banners.
signal.c
sprintf.c * random.c (random_rand): remove unused variables.
st.c * st.c (st_foreach): check if unpacked.
strftime.c
string.c * string.c (tr_trans): free heap ptr when the str is not embeded.
struct.c
thread.c
thread_pthread.c
thread_pthread.h * thread_pthread.h (rb_global_vm_lock_struct): add volatile to
thread_win32.c
thread_win32.h fix win32 native_cond_timedwait() makes SIGSEGV.
time.c merge revision(s) 32554:
timev.h * timev.h (TIME_SCALE): defined as 1000000000.
transcode.c
transcode_data.h * configure.in (XCFLAGS): use -fvisibility=hidden if possible.
util.c * thread_pthread.c (mutex_debug): use exit(EXIT_FAILURE) instad of
variable.c
version.c * math.c: Attach documentation for Math.
version.h * 2011-07-31
vm.c * backport r32768 from trunk.
vm_core.h merge revision(s) 32749:
vm_dump.c * addr2line.c: use USE_ELF instead of __ELF__ because Solaris
vm_eval.c * method.h, internal.h iseq.h: declare internal functions.
vm_exec.c
vm_exec.h
vm_insnhelper.c merge revision(s) 32628:
vm_insnhelper.h
vm_method.c
vm_opts.h * vm_opts.h: enable "OPT_TRACE_INSTRUCTION" on default.
vsnprintf.c * vsnprintf.c (cvt): set first byte of buf to NUL for the case when

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-like/POSIX compatible platforms
    as well as Windows, Mac OS X, BeOS etc.)
    cf. http://redmine.ruby-lang.org/wiki/ruby-19/SupportedPlatforms


* How to get Ruby

The Ruby distribution files can be found in the following FTP site:

  ftp://ftp.ruby-lang.org/pub/ruby/

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}/include/ruby-${MAJOR}.${MINOR}.${TEENY}
       * ${DESTDIR}${prefix}/include/ruby-${MAJOR}.${MINOR}.${TEENY}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib
       * ${DESTDIR}${prefix}/lib/ruby
       * ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}.${TEENY}
       * ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}.${TEENY}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}.${TEENY}
       * ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}.${TEENY}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}.${TEENY}
       * ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}.${TEENY}/${PLATFORM}
       * ${DESTDIR}${prefix}/lib/ruby/gems/${MAJOR}.${MINOR}.${TEENY}
       * ${DESTDIR}${prefix}/share/man/man1
       * ${DESTDIR}${prefix}/share/ri/${MAJOR}.${MINOR}.${TEENY}/system

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

     NOTE: teeny of the API version may be different from one of
     Ruby's program version

     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:
Something went wrong with that request. Please try again.