-
Notifications
You must be signed in to change notification settings - Fork 5
/
INSTALL
260 lines (194 loc) · 6.37 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
$Id: INSTALL,v 1.9 2009/06/15 12:17:56 ianmacd Exp $
Requirements
------------
Ruby/AWS depends on Ruby 1.8.7 or later in the 1.8 series. It has also been
tested to work with Ruby 1.9.1p129, the latest in the 1.9 series at the time
of writing.
You will also need at least version 0.9.8 of the OpenSSL libraries in order to
use the the signature authentication code.
Installation
------------
There are two ways to install Ruby/AWS.
The standard way, which requires no extra software, uses Minero Aoki's
setup.rb script. Extensive documentation for this script can be found at the
end of this document.
The following commands should be enough to install the package:
$ ruby setup.rb config
$ ruby setup.rb setup
# ruby setup.rb install
("#" line may require root privilege)
Alternatively, the RubyGems packaging system may be used:
$ wget http://www.caliban.org/files/ruby/ruby-aaws-x.x.x.gem
# gem install ruby-aaws-x.x.x.gem
("#" line may require root privilege)
Or even just:
# gem install ruby-aaws
("#" line may require root privilege)
See http://www.rubygems.org/ for more information on using RubyGems.
Documentation
-------------
To create HTML documentation for Ruby/AWS, use rdoc as follows:
$ rdoc -SUx CVS lib
rdoc has been bundled with Ruby since 1.8.1.
-----------------------------------------------------------------------------
Full instructions for setup.rb:
Details
-------
Usage of install.rb/setup.rb is:
ruby install.rb <global options>
ruby install.rb [<global options>] <task> [<task options>]
-q,--quiet
suppress message outputs
--verbose
output messages verbosely (default)
-h,--help
prints help and quit
-v,--version
prints version and quit
--copyright
prints copyright and quit
These are acceptable tasks:
config
saves configurations
show
prints current configurations
setup
compiles extentions
install
installs files
clean
cleans created files
Task Options for Config
-----------------------
--prefix=PATH
a prefix of the installing directory path
--std-ruby=PATH
the directory for standard ruby libraries
--site-ruby-common=PATH
the directory for version-independent non-standard
ruby libraries
--site-ruby=PATH
the directory for non-standard ruby libraries
--bin-dir=PATH
the directory for commands
--rb-dir=PATH
the directory for ruby scripts
--so-dir=PATH
the directory for ruby extentions
--data-dir=PATH
the directory for shared data
--ruby-path=PATH
path to set to #! line
--ruby-prog=PATH
the ruby program using for installation
--make-prog=NAME
the make program to compile ruby extentions
--without-ext
forces to install.rb never to compile/install
ruby extentions.
--rbconfig=PATH
your rbconfig.rb to load
You can view default values of these options by typing
$ ruby install.rb --help
In addition, setup.rb accepts these options:
--with=NAME,NAME,NAME...
package names which you want to install
--without=NAME,NAME,NAME...
package names which you do not want to install
[NOTE] You can pass options for extconf.rb like this:
ruby install.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
Task Options for Install
------------------------
--no-harm
prints what to do and done nothing really.
--prefix=PATH
a prefix of the installing directory path.
This option may help binary package maintainers.
A default value is an empty string.
Installing Programs with setup.rb
=================================
Quick Start
-----------
Type these lines on command line:
("#" line may require root privilege)
$ ruby setup.rb config
$ ruby setup.rb setup
# ruby setup.rb install
Details
-------
Usage of setup.rb is:
ruby setup.rb <global options>
ruby setup.rb [<global options>] <task> [<task options>]
Global Options
--------------
-q,--quiet
suppress message outputs
--verbose
output messages verbosely (default)
-h,--help
prints help and quit
-v,--version
prints version and quit
--copyright
prints copyright and quit
These are acceptable tasks:
config
Checks and saves configurations.
show
Prints current configurations.
setup
Compiles ruby extentions.
install
Installs files.
clean
Cleans created files.
distclean
Cleans created files.
Task Options for CONFIG
-----------------------
--prefix=PATH
a prefix of the installing directory path
--std-ruby=PATH
the directory for standard ruby libraries
--site-ruby-common=PATH
the directory for version-independent non-standard
ruby libraries
--site-ruby=PATH
the directory for non-standard ruby libraries
--bin-dir=PATH
the directory for commands
--rb-dir=PATH
the directory for ruby scripts
--so-dir=PATH
the directory for ruby extentions
--data-dir=PATH
the directory for shared data
--ruby-path=PATH
path to set to #! line
--ruby-prog=PATH
the ruby program using for installation
--make-prog=NAME
the make program to compile ruby extentions
--without-ext
forces to setup.rb never to compile/install
ruby extentions.
--rbconfig=PATH
your rbconfig.rb to load
You can view default values of these options by typing
$ ruby setup.rb --help
If there's the directory named "packages",
You can also use these options:
--with=NAME,NAME,NAME...
Package names which you want to install.
--without=NAME,NAME,NAME...
Package names which you do not want to install.
[NOTE] You can pass options for extconf.rb like this:
ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
Task Options for INSTALL
------------------------
--no-harm
prints what to do and done nothing really.
--prefix=PATH
The prefix of the installing directory path.
This option may help binary package maintainers.
A default value is an empty string.