Skip to content
The Ruby Programming Language
Ruby C HTML Yacc Makefile Emacs Lisp Other
Find file
Pull request Compare This branch is 5729 commits ahead, 38352 commits behind trunk.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bcc32 * configure.in (config.h): add include guard.
bin
cygwin
djgpp * {bcc32,djgpp,win32,wince}/*.bat: add svn properties to DOSISH batch…
doc Split and move away old entries in ChangeLog and NEWS.
ext
lib Make an internal block of Generator return nil instead of self.
misc * misc/ruby-mode.el (ruby-here-doc-beg-match): fix for here-doc
missing
sample
template * gc.c (Init_stack): use ruby_init_stack. [ruby-dev:34350]
test * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_gc): Fix
vms
win32 * win32/win32.c (init_stdhandle): backport mistake of r29382.
wince
x68
.document * prelude.rb (Process.daemon): New method.
.gdbinit * .gdbinit: classic version.
.gitignore * .gitignore: added.
COPYING * prec.c (prec_prec_f): documentation patch from
COPYING.ja
ChangeLog * configure.in: define USE_BUILTIN_FRAME_ADDRESS on x86_64
GPL * It is confusing to put the GPL license terms in the file COPYING;
KNOWNBUGS.rb
LEGAL * LEGAL: separated the section for parse.c. contributed by Paul
LGPL * It is confusing to put the GPL license terms in the file COPYING;
Makefile.in
NEWS * array.c (rb_ary_sort_by_bang): Add Array#sort_by!.
README
README.EXT * README.EXT, README.EXT.ja (Convert VALUE into C data):
README.EXT.ja * README.EXT, README.EXT.ja (Convert VALUE into C data):
README.ja * README: update.
ToDo * gc.c (rb_gc): check odd alignment stack on m68k machines.
array.c
bignum.c * bignum.c (rb_big2str0): prevent working clone from
class.c * class.c (rb_define_class): raise TypeError same as class
common.mk * common.mk (RBCONFIG): depends on version.h due to
compar.c * time.c: rdoc fix for <=>
compile_prelude.rb
config.guess
config.sub
configure.in
defines.h * defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
dir.c
distruby.rb
dln.c * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved from
dln.h Updated Copyrights of Matz to 2003.
dmydln.c This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
dmyext.c
enum.c
enumerator.c
env.h
error.c
eval.c
file.c * file.c (file_expand_path): home directory must be absolute.
gc.c Merged r22308. [ruby-dev:39637]
hash.c * hash.c (Hash#merge doc): Added explanation for form with block.
ia64.s This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
inits.c Forward port r34151 from ruby_1_8_7.
install-sh 1.4.0
instruby.rb
intern.h * eval.c (rb_thread_atfork): When a ruby process forks, its random
io.c * eval.c (rb_thread_atfork): When a ruby process forks, its random
keywords * parse.y: Support for { key: value } -style hash immediates.
lex.c
main.c * configure.in (rb_cv_missing__dtos18, rb_cv_missing_fconvert),
marshal.c
math.c * math.c (domain_check): check errno first.
mdoc2man.rb
miniprelude.c * prelude.rb, Makefile.in, common.mk: Introduce prelude.rb.
missing.h merge from trunk (r28772)
mkconfig.rb * mkconfig.rb: should use RbConfig instead of Config, because the name
node.h * eval.c (rb_add_threadswitch_hook): wrapper for unofficial APIs
numeric.c * numeric.c (int_pow, fix_mul): Avoid optimization bugs of
object.c
pack.c update doc.
parse.y * parse.y (opt_block_arg): Allow a trailing comma at the end of
prec.c * *.[chy]: removed trailing spaces.
prelude.rb
process.c
random.c Forward port r34151 from ruby_1_8_7.
range.c * range.c (range_eql): fixed rdoc.
re.c
re.h
regex.c
regex.h * *.[chy]: removed trailing spaces.
ruby.1
ruby.c * ruby.c (get_arglen): skip the last terminator of argv before
ruby.h
rubyio.h * rubyio.h (rb_io_t): renamed from OpenFile.
rubysig.h * eval.c (rb_thread_schedule): runs deferred finalizers.
rubytest.rb * lib/date.rb (once): Use Object#object_id instead of Symbol#to_i;
runruby.rb * ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
signal.c * *.[chy]: removed trailing spaces.
sprintf.c
st.c
st.h * defines.h, intern.h, missing.h, ruby.h, st.h, util.h: include
string.c Forward port r34151 from ruby_1_8_7.
struct.c * *.[chy]: removed trailing spaces.
time.c
util.c * util.c (ruby_add_suffix): fixed a bug returning uninitialized
util.h
variable.c * variable.c (rb_const_get_0): Fix previous change. There were
version.c
version.h * 2014-01-28

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