@@ -74,107 +74,20 @@ in the mail body (not subject) to the address [ruby-talk-request@ruby-lang.org].
74
74
75
75
[ ruby-talk-request@ruby-lang.org ] : mailto:ruby-talk-request@ruby-lang.org?subject=Join%20Ruby%20Mailing%20List&body=subscribe
76
76
77
- ## Requirements to build from repository
78
-
79
- 1 . GNU or BSD make
80
- 2 . C99 compiler
81
- 3 . autoconf 2.67 or higher
82
- 4 . automake 1.15 or higher
83
- 5 . bison 2.3 or higher
84
- 6 . Ruby 2.2 or higher
85
-
86
- When building from a released version, only a C99 compiler and GNU or BSD make
87
- is required.
88
-
89
- ## How to compile and install
90
-
91
- 1 . If you want to use Microsoft Visual C++ to compile Ruby, read
92
- [ win32/README.win32] ( rdoc-ref:win32/README.win32 ) instead of this document.
93
-
94
- 2 . Run ` ./autogen.sh ` to generate configure, when you build the source checked
95
- out from the Git repository.
96
-
97
- 3 . Run ` ./configure ` , which will generate ` config.h ` and ` Makefile ` .
98
-
99
- Some C compiler flags may be added by default depending on your
100
- environment. Specify ` optflags=.. ` and ` warnflags=.. ` as necessary to
101
- override them.
102
-
103
- 4 . Edit ` include/ruby/defines.h ` if you need. Usually this step will not be needed.
104
-
105
- 5 . Optional: Remove comment mark(` # ` ) before the module names from ` ext/Setup ` .
106
-
107
- This step is only necessary if you want to link modules statically.
108
-
109
- If you don't want to compile dynamic extensions (probably on architectures
110
- which do not allow dynamic loading), remove comment mark from the line
111
- "` #option nodynamic ` " in ` ext/Setup ` .
112
-
113
- Usually this step will not be needed.
114
-
115
- 6 . Run ` make ` .
116
-
117
- * On Mac, set RUBY\_ CODESIGN environment variable with a signing identity.
118
- It uses the identity to sign ` ruby ` binary. See also codesign(1).
119
-
120
- 7 . Optionally, run '` make check ` ' to check whether the compiled Ruby
121
- interpreter works well. If you see the message "` check succeeded ` ", your
122
- Ruby works as it should (hopefully).
123
-
124
- 8 . Run '` make install ` '.
125
-
126
- This command will create the following directories and install files into
127
- them.
128
-
129
- * ` ${DESTDIR}${prefix}/bin `
130
- * ` ${DESTDIR}${prefix}/include/ruby-${MAJOR}.${MINOR}.${TEENY} `
131
- * ` ${DESTDIR}${prefix}/include/ruby-${MAJOR}.${MINOR}.${TEENY}/${PLATFORM} `
132
- * ` ${DESTDIR}${prefix}/lib `
133
- * ` ${DESTDIR}${prefix}/lib/ruby `
134
- * ` ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}.${TEENY} `
135
- * ` ${DESTDIR}${prefix}/lib/ruby/${MAJOR}.${MINOR}.${TEENY}/${PLATFORM} `
136
- * ` ${DESTDIR}${prefix}/lib/ruby/site_ruby `
137
- * ` ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}.${TEENY} `
138
- * ` ${DESTDIR}${prefix}/lib/ruby/site_ruby/${MAJOR}.${MINOR}.${TEENY}/${PLATFORM} `
139
- * ` ${DESTDIR}${prefix}/lib/ruby/vendor_ruby `
140
- * ` ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}.${TEENY} `
141
- * ` ${DESTDIR}${prefix}/lib/ruby/vendor_ruby/${MAJOR}.${MINOR}.${TEENY}/${PLATFORM} `
142
- * ` ${DESTDIR}${prefix}/lib/ruby/gems/${MAJOR}.${MINOR}.${TEENY} `
143
- * ` ${DESTDIR}${prefix}/share/man/man1 `
144
- * ` ${DESTDIR}${prefix}/share/ri/${MAJOR}.${MINOR}.${TEENY}/system `
145
-
146
- If Ruby's API version is '* x.y.z* ', the ` ${MAJOR} ` is '* x* ', the
147
- ` ${MINOR} ` is '* y* ', and the ` ${TEENY} ` is '* z* '.
148
-
149
- ** NOTE** : teeny of the API version may be different from one of Ruby's
150
- program version
151
-
152
- You may have to be a super user to install Ruby.
153
-
154
- If you fail to compile Ruby, please send the detailed error report with the
155
- error log and machine/OS type, to help others.
156
-
157
- Some extension libraries may not get compiled because of lack of necessary
158
- external libraries and/or headers. You will need to run '` make distclean-ext ` '
159
- to remove old configuration after installing them in such a case.
160
-
161
77
## Copying
162
78
163
79
See the file [ COPYING] ( rdoc-ref:COPYING ) .
164
80
165
81
## Feedback
166
82
167
- Questions about the Ruby language can be asked on the [ Ruby-Talk] mailing list
83
+ Questions about the Ruby language can be asked on the [ Ruby-Talk] ( https://www.ruby-lang.org/en/community/mailing-lists ) mailing list
168
84
or on websites like https://stackoverflow.com .
169
85
170
- Bugs should be reported at https://bugs.ruby-lang.org . Read [ HowToReport] for more information.
171
-
172
- [ Ruby-Talk ] : https://www.ruby-lang.org/en/community/mailing-lists
173
- [ HowToReport ] : https://bugs.ruby-lang.org/projects/ruby/wiki/HowToReport
86
+ Bugs should be reported at https://bugs.ruby-lang.org . Read [ "Reporting Issues"] ( https://docs.ruby-lang.org/en/master/reporting_issues_md.html ) for more information.
174
87
175
88
## Contributing
176
89
177
- See the file [ CONTRIBUTING.md ] ( rdoc-ref:CONTRIBUTING )
90
+ See [ "Contributing to Ruby" ] ( https://docs.ruby-lang.org/en/master/contributing_md.html ) , which includes setup and build instructions.
178
91
179
92
## The Author
180
93
0 commit comments