Skip to content

Commit 94d53a4

Browse files
committed
rbenv 1.3.2
1 parent 2df9fb9 commit 94d53a4

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@ man/rbenv.1.html: ~/.rbenv/share/man/man1/rbenv.1.adoc
66

77
man/ruby-build.1.html: ~/.rbenv/plugins/ruby-build/share/man/man1/ruby-build.1.adoc
88
asciidoctor -b html5 -a linkcss -a stylesheet=manpage.css -a 'webfonts!' -a idprefix= -o $@ $<
9+
10+
install.sh: ~/.rbenv/rbenv-installer/bin/rbenv-installer
11+
cp ~/.rbenv/rbenv-installer/bin/rbenv-installer install.sh

man/ruby-build.1.html

+30-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h2 id="name">Name</h2>
2222
<h2 id="synopsis">Synopsis</h2>
2323
<div class="sectionbody">
2424
<div class="paragraph">
25-
<p>ruby-build [-kpv] <em>&lt;definition&gt;</em> <em>&lt;prefix&gt;</em> [-- <em>&lt;configure-args&gt;</em>&#8230;&#8203;]<br>
25+
<p>ruby-build [-dvpk] <em>&lt;definition&gt;</em> <em>&lt;prefix&gt;</em> [-- <em>&lt;configure-args&gt;</em>&#8230;&#8203;]<br>
2626
ruby-build {--list|--definitions}<br>
2727
ruby-build --version</p>
2828
</div>
@@ -36,6 +36,10 @@ <h2 id="description">Description</h2>
3636
<em>definition</em> argument into the location specified by <em>prefix</em>.</p>
3737
</div>
3838
<div class="paragraph">
39+
<p>The <em>definition</em> argument can optionally start with "ruby-", in which case
40+
it resolves to a CRuby that matches the version number that follows.</p>
41+
</div>
42+
<div class="paragraph">
3943
<p>The <em>definition</em> argument can be a path to a file on disk, in which case
4044
it is sourced into ruby-build as a bash script.</p>
4145
</div>
@@ -67,6 +71,10 @@ <h2 id="options">Options</h2>
6771
<dd>
6872
<p>Show version of ruby-build</p>
6973
</dd>
74+
<dt class="hdlist1"><strong>-d, --dir</strong></dt>
75+
<dd>
76+
<p>Install the Ruby in the <em>prefix/definition</em> destination instead of directly in <em>prefix</em></p>
77+
</dd>
7078
<dt class="hdlist1"><strong>-v, --verbose</strong></dt>
7179
<dd>
7280
<p>Verbose mode: forward all build output to stdout/stderr</p>
@@ -95,20 +103,35 @@ <h2 id="options">Options</h2>
95103
<h2 id="examples">Examples</h2>
96104
<div class="sectionbody">
97105
<div class="paragraph">
98-
<p>Install Ruby version 3.2.2 under <code>/opt/rubies</code> while tweaking some
99-
configuration options:</p>
106+
<p>Install a Ruby version while tweaking some configuration options:</p>
107+
</div>
108+
<div class="listingblock">
109+
<div class="content">
110+
<pre>$ ruby-build 3.2.2 /path/to/destination -- --disable-install-doc --with-openssl-dir=/opt/openssl</pre>
111+
</div>
112+
</div>
113+
<div class="paragraph">
114+
<p>Install a Ruby version to <code>~/.rubies/ruby-3.2.2</code>:</p>
115+
</div>
116+
<div class="listingblock">
117+
<div class="content">
118+
<pre>$ ruby-build --dir ruby-3.2.2 ~/.rubies</pre>
119+
</div>
120+
</div>
121+
<div class="paragraph">
122+
<p>Install a Ruby version to <code>~/.rbenv/versions/3.3.5</code>:</p>
100123
</div>
101124
<div class="listingblock">
102125
<div class="content">
103-
<pre>$ ruby-build 3.2.2 /opt/rubies/ruby-3.2.2 -- --disable-install-doc --with-openssl-dir=/opt/openssl</pre>
126+
<pre>$ ruby-build --dir 3.3.5 ~/.rbenv/versions</pre>
104127
</div>
105128
</div>
106129
<div class="paragraph">
107-
<p>Usage as rbenv plugin:</p>
130+
<p>Usage as rbenv plugin, accomplishes the same as the previous example:</p>
108131
</div>
109132
<div class="listingblock">
110133
<div class="content">
111-
<pre>$ rbenv install 3.2.2</pre>
134+
<pre>$ rbenv install 3.3.5</pre>
112135
</div>
113136
</div>
114137
</div>
@@ -239,7 +262,7 @@ <h2 id="notes">Notes</h2>
239262
</div>
240263
<div id="footer">
241264
<div id="footer-text">
242-
Last updated 2023-11-08 00:17:26 +0100
265+
Last updated 2024-10-09 19:45:59 +0200
243266
</div>
244267
</div>
245268
</body>

0 commit comments

Comments
 (0)