Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 119 lines (73 sloc) 3.219 kb
99d0354 Initial revision
matz authored
1 * What's Ruby
2
3 Ruby is the interpreted scripting language for quick and
4 easy object-oriented programming. It has many features to
5 process text files and to do system management tasks (as in
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
6 Perl). It is simple, straight-forward, and extensible.
99d0354 Initial revision
matz authored
7
d58426d Akinori MUSHA * It is confusing to put the GPL license terms in the file COPYING;
knu authored
8
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
9 * Features of Ruby
99d0354 Initial revision
matz authored
10
11 + Simple Syntax
12 + *Normal* Object-Oriented features(ex. class, method calls)
13 + *Advanced* Object-Oriented features(ex. Mix-in, Singleton-method)
14 + Operator Overloading
15 + Exception Handling
16 + Iterators and Closures
17 + Garbage Collection
18 + Dynamic Loading of Object files(on some architecture)
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
19 + Highly Portable(works on many UNIX machines, and on DOS,
20 Windows, Mac, BeOS etc.)
99d0354 Initial revision
matz authored
21
d58426d Akinori MUSHA * It is confusing to put the GPL license terms in the file COPYING;
knu authored
22
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
23 * How to get Ruby
99d0354 Initial revision
matz authored
24
41d576a Akinori MUSHA Update the distribution information.
knu authored
25 The Ruby distribution files can be found in the following FTP site:
99d0354 Initial revision
matz authored
26
b7cbb55 Akinori MUSHA Correct the FTP site's URL.
knu authored
27 ftp://ftp.ruby-lang.org/pub/ruby/
99d0354 Initial revision
matz authored
28
41d576a Akinori MUSHA Update the distribution information.
knu authored
29 The latest source code of this version series can be checked out
30 through SVN with the following command:
07bb9f2 1.4.0
matz authored
31
41d576a Akinori MUSHA Update the distribution information.
knu authored
32 $ svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8/
33
34 The trunk of the Ruby source tree can be checked out with the
35 following command:
36
37 $ svn co http://svn.ruby-lang.org/repos/ruby/trunk/ ruby
38
39 There are some other branches under development. Try the following
40 command and see the list of branches:
41
42 $ svn ls http://svn.ruby-lang.org/repos/ruby/branches/
07bb9f2 1.4.0
matz authored
43
d58426d Akinori MUSHA * It is confusing to put the GPL license terms in the file COPYING;
knu authored
44
45 * Ruby home-page
46
47 The URL of the Ruby home-page is:
48
49 http://www.ruby-lang.org/
50
51
07bb9f2 1.4.0
matz authored
52 * Mailing list
53
54 There is a mailing list to talk about Ruby.
55 To subscribe this list, please send the following phrase
56
c164902 990918-repack
matz authored
57 subscribe YourFirstName YourFamilyName
07bb9f2 1.4.0
matz authored
58 e.g.
59 subscribe Joseph Smith
60
775819d * configure.in: add check for negative time_t for gmtime(3).
matz authored
61 in the mail body (not subject) to the address <ruby-talk-ctl@ruby-lang.org>.
07bb9f2 1.4.0
matz authored
62
d58426d Akinori MUSHA * It is confusing to put the GPL license terms in the file COPYING;
knu authored
63
99d0354 Initial revision
matz authored
64 * How to compile and install
65
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
66 This is what you need to do to compile and install Ruby:
99d0354 Initial revision
matz authored
67
6202f85 matz
matz authored
68 1. If ./configure does not exist or is older than configure.in,
69 run autoconf to (re)generate configure.
99d0354 Initial revision
matz authored
70
6202f85 matz
matz authored
71 2. Run ./configure, which will generate config.h and Makefile.
99d0354 Initial revision
matz authored
72
6305529 Akinori MUSHA Tag for 1.8.7.
knu authored
73 Some C compiler flags may be added by default depending on your
74 environment. Specify optflags=.. and warnflags=.. as necessary
75 to override them.
76
d80d929 * lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify
matz authored
77 3. Edit defines.h if you need. Usually this step will not be needed.
6202f85 matz
matz authored
78
79 4. Remove comment mark(#) before the module names from ext/Setup (or
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
80 add module names if not present), if you want to link modules
81 statically.
99d0354 Initial revision
matz authored
82
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
83 If you don't want to compile non static extension modules
84 (probably on architectures which does not allow dynamic loading),
85 remove comment mark from the line "#option nodynamic" in
86 ext/Setup.
99d0354 Initial revision
matz authored
87
6202f85 matz
matz authored
88 5. Run make.
99d0354 Initial revision
matz authored
89
6202f85 matz
matz authored
90 6. Optionally, run 'make test' to check whether the compiled Ruby
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
91 interpreter works well. If you see the message "test succeeded",
92 your ruby works as it should (hopefully).
99d0354 Initial revision
matz authored
93
6202f85 matz
matz authored
94 7. Run 'make install'
99d0354 Initial revision
matz authored
95
a2af08d This commit was generated by cvs2svn to compensate for changes in r372,
matz authored
96 You may have to be a super user to install ruby.
97
98 If you fail to compile ruby, please send the detailed error report with
99d0354 Initial revision
matz authored
99 the error log and machine/OS type, to help others.
100
d951f65 This commit was generated by cvs2svn to compensate for changes in r11,
matz authored
101
d58426d Akinori MUSHA * It is confusing to put the GPL license terms in the file COPYING;
knu authored
102 * Copying
99d0354 Initial revision
matz authored
103
d58426d Akinori MUSHA * It is confusing to put the GPL license terms in the file COPYING;
knu authored
104 See the file COPYING.
99d0354 Initial revision
matz authored
105
106
107 * The Author
108
109 Feel free to send comments and bug reports to the author. Here is the
110 author's latest mail address:
111
ceb972c * eval.c (rb_thread_restore_context): save current value of
matz authored
112 matz@netlab.jp
99d0354 Initial revision
matz authored
113
114 -------------------------------------------------------
115 created at: Thu Aug 3 11:57:36 JST 1995
116 Local variables:
117 mode: indented-text
118 end:
Something went wrong with that request. Please try again.