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
kosaki 20ae79b0c2 * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody
support. Last activity of their OSs are 7 years ago.
* configure.in: ditto.
* dir.c: ditto.
* ext/tk/extconf.rb: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-26 00:19:03 +00:00
bcc32
benchmark
bin
bootstraptest * proc.c (proc_new): force to rewrite errinfo when calling Proc.new in ensure. 2011-08-27 09:59:48 +00:00
cygwin
defs
doc * doc/rake/CHANGES: reverted. this file is not written in Japanese. 2011-09-05 06:05:31 +00:00
enc
ext * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
include * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
lib * lib/yaml/dbm/dbm.rb: fix #update, add #key for using istead #index. 2011-09-25 12:05:02 +00:00
man
misc
missing
sample * sample/drb/dhasenc.rb: coding cookie of Emacs is coding, 2011-09-09 16:44:38 +00:00
spec
symbian
template * template/yarvarch.ja: 2011-09-08 17:09:30 +00:00
test * ext/openssl/ossl_asn1.c: fix int_ossl_asn1_decode0_cons when being 2011-09-25 14:51:20 +00:00
tool
win32 * win32/Makefile.sub (INSNS): change command line option -Ks to -Ku 2011-09-06 12:16:44 +00:00
.document
.gdbinit
.gitignore
.indent.pro
addr2line.c
addr2line.h
array.c
atomic.h
bignum.c * numeric.c (bit_coerce): A Fixnum and a Bignum are only permitted for 2011-08-29 01:07:15 +00:00
BSDL
ChangeLog * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
class.c
common.mk
compar.c
compile.c * iseq.h, iseq.c, compile.c: Change the line number data structure 2011-08-24 06:31:15 +00:00
complex.c
configure.in * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
constant.h * variable.c (rb_const_set): show the previous definition 2011-09-03 15:11:53 +00:00
cont.c * cont.c (fiber_entry): fix stack allocation failure on Debian 2011-08-30 00:51:46 +00:00
COPYING
COPYING.ja Change encoding from EUC-JP to UTF-8. [Feature #5128] 2011-09-04 12:22:46 +00:00
debug.c
debug.h
dir.c * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
dln.c * include/ruby/defines.h: remove NextStep, OpenStep, Rhapsody 2011-09-26 00:19:03 +00:00
dln.h
dln_find.c
dmydln.c
dmyencoding.c
dmyext.c
dmyversion.c
encoding.c * encoding.c (require_enc): reject only loading from untrusted 2011-09-25 07:54:35 +00:00
enum.c * enum.c (slice_before_i): use rb_attr_get to surpress wrong warning 2011-09-24 18:43:32 +00:00
enumerator.c
error.c
eval.c
eval_error.c
eval_intern.h
eval_jump.c
file.c
gc.c suppress warnings. 2011-09-25 07:42:38 +00:00
gc.h
gem_prelude.rb
golf_prelude.rb
goruby.c
GPL
hash.c
ia64.s
id.c
inits.c
insns.def * insns.def: change encoding pragma for emacs (shift_jis to utf-8). 2011-09-05 12:02:30 +00:00
internal.h * variable.c (rb_const_set): show the previous definition 2011-09-03 15:11:53 +00:00
io.c * io.c (Init_IO): update BINARY comment. it should not change the 2011-09-12 20:38:17 +00:00
iseq.c suppress warnings. 2011-09-25 07:42:38 +00:00
iseq.h * iseq.h, iseq.c, compile.c: Change the line number data structure 2011-08-24 06:31:15 +00:00
KNOWNBUGS.rb
LEGAL
lex.c.blt
load.c * load.c (rb_f_require): Improve documentation of Kernel#require. 2011-08-23 06:26:11 +00:00
main.c
Makefile.in * Makefile.in (INSNS): change command line option -Ks to -Ku for 2011-09-05 10:36:24 +00:00
marshal.c
math.c
method.h
NEWS added new methods of Net::IMAP. 2011-09-09 07:48:00 +00:00
node.c
node.h
numeric.c Revert "* numeric.c (ruby_float_step): Avoid error on i386 and amd64." 2011-09-16 07:09:24 +00:00
object.c * object.c (rb_obj_clone): singleton class should be attached 2011-09-18 22:54:25 +00:00
pack.c
parse.y * parse.y (parser_data_type): inherit the core type in ripper so 2011-09-17 14:34:13 +00:00
prelude.rb
proc.c * proc.c (proc_new): force to rewrite errinfo when calling Proc.new in ensure. 2011-08-27 09:59:48 +00:00
process.c
random.c
range.c
rational.c
re.c
README * README*: remove trailing spaces. 2011-08-25 21:00:03 +00:00
README.EXT * README.EXT, README.EXT.ja (2.2.2), parse.y (rb_check_id): add 2011-09-12 04:38:15 +00:00
README.EXT.ja * README.ja, README.EXT.ja: remove garbage spaces. 2011-09-25 13:40:25 +00:00
README.ja * README.ja, README.EXT.ja: remove garbage spaces. 2011-09-25 13:40:25 +00:00
regcomp.c
regenc.c
regenc.h
regerror.c
regexec.c
regint.h
regparse.c
regparse.h
regsyntax.c
ruby.c
safe.c
signal.c
sprintf.c
st.c
strftime.c * strftime.c (rb_strftime_with_timespec): get enc argument to specify 2011-08-27 09:18:18 +00:00
string.c
struct.c
thread.c * thread.c (rb_fd_rcopy): added an argument guard. 2011-09-14 02:44:57 +00:00
thread_pthread.c * thread_pthread.c (ubf_select): activate timer thread when interrupt 2011-09-21 17:02:21 +00:00
thread_pthread.h
thread_win32.c
thread_win32.h
time.c update doc. 2011-09-09 23:14:00 +00:00
timev.h
transcode.c * encoding.c (require_enc): reject only loading from untrusted 2011-09-25 07:54:35 +00:00
transcode_data.h
util.c
variable.c * variable.c (rb_const_set): show the previous definition 2011-09-03 15:11:53 +00:00
version.c
version.h * 2011-09-26 2011-09-25 15:10:23 +00:00
vm.c * vm.c (rb_vm_get_sourceline): fix indent. 2011-09-15 02:40:39 +00:00
vm_core.h * vm.c (rb_vm_rewrite_dfp_in_errinfo): change return type 2011-08-27 11:51:02 +00:00
vm_dump.c
vm_eval.c
vm_exec.c
vm_exec.h
vm_insnhelper.c * vm_insnhelper.c (vm_call_cfunc): suppress a warning. note that 2011-09-21 17:53:23 +00:00
vm_insnhelper.h * vm_insnhelper.h, vm_insnhelper.c, vm.c, vm_method.c, insns.def: 2011-08-24 22:02:03 +00:00
vm_method.c * vm_insnhelper.h, vm_insnhelper.c, vm.c, vm_method.c, insns.def: 2011-08-24 22:02:03 +00:00
vm_opts.h
vsnprintf.c

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