File: ruby-build.1.ronn

package info (click to toggle)
ruby-build 20120524-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 264 kB
  • sloc: sh: 405; makefile: 10
file content (84 lines) | stat: -rw-r--r-- 2,207 bytes parent folder | download
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
ruby-build(1) -- compile and install Rubies
===========================================

## SYNOPSIS

`ruby-build` [`-v`|`--verbose`] [`-k`|`--keep`] <definition> <prefix><br>
`ruby-build` `--definitions`<br>
`ruby-build` `--version`<br>
`ruby-build` [`-h`|`--help`]<br>
`rbenv install` [`-k`|`--keep`] <definition><br>

## DESCRIPTION

**ruby-build** provides a simple way to compile and install different
versions of Ruby on UNIX-like systems.

`ruby-build` downloads, builds and installs the Ruby version specified
in a <definition> into a <prefix> directory. Definitions can be chosen
from the list of installed definitions or by specifying a file path
for a definition.

rbenv(1) users can also use the provided `rbenv install`
command, which installs Rubies into the `rbenv` directory.

## OPTIONS

  * `--definitions`:
    List available definitions.

  * `-k`, `--keep`:
    Don't delete source code after installation.

  * `-v`, `--verbose`:
    Display compiler messages on standard output.

  * `--version`:
    Show `ruby-build` version and exit.

  * `-h`, `--help`:
    Show usage information and exit.

## EXAMPLES

Install Ruby 1.9.3 (MRI, patch level 0) to `~/rubies/mri-1.9.3`

    $ ruby-build 1.9.3-p0 ~/rubies/mri-1.9.3

Install Ruby Enterprise Edition 1.8.7 (patch level 2011.03) for rbenv(1):
    $ rbenv install ree-1.8.7-2011.03

Install Ruby from a custom definition into `~/your-ruby`:
    $ rbenv install /path/to/your/own/ruby/definition ~/your-ruby

## ENVIRONMENT

  * `CC`:
    Sets the path to the C compiler.

  * `CONFIGURE_OPTS`:
    Options that are passed to configure when building a Ruby.

  * `MAKE_OPTS`:
    Options that are passed to make when building a Ruby.

  * `MAKEOPTS`:
    Used instead of `MAKE_OPTS` when `MAKE_OPTS` is not defined.

  * `TMPDIR`:
    Sets the location where `ruby-build` stores temporary files.

  * `RUBY_BUILD_BUILD_PATH`:
    Sets the location in which sources are downloaded and built.

## AUTHORS

ruby-build is developed by Sam Stephenson <<sam@37signals.com>>.

This man page was written for the Debian GNU/Linux distribution by
Sebastian Boehm <<sebastian@sometimesfood.org>> but may be used by
others.

## SEE ALSO

rbenv(1)