/
install
61 lines (34 loc) · 1.66 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
## Usage
rvm install {ruby-string} [--verify-download {0,1,2}] [--binary|--disable-binary|--movable]
For a partial list of valid ruby strings please run
rvm list known
For MRI Rubies you may pass configuration parameters in one of two ways:
rvm install 1.9.2 --with-iconv-dir=$HOME/.rvm --without-readline
and/or
rvm install 1.9.2 -C --with-iconv-dir=$HOME/.rvm,--without-readline
To do dirty installation using the same sources use:
rvm install --force 1.9.2
To do clean installation use:
rvm reinstall 1.9.2
## Binary rubies
By default RVM will try to download binary ruby package instead of compiling.
If such package is not available normal compilation will be performed.
Using binary builds can significantly decrease ruby installation time.
There are two options controlling binary rubies installation:
- `--binary` - force binary installation, do not try to compile ruby.
- `--disable-binary` - do not try binary ruby, always compile.
More details about managing binary rubies can be found in `rvm help mount`.
### Movable rubies
It is possible to build a ruby that can be moved to other locations, renamed
or even moved to other machine - as long as the system matches.
This option works only for ruby **1.9.3**, ruby **1.9.2** supports this only
on systems without `/usr/lib64`.
More details about managing binary builds can be found in `rvm help mount`.
## Veryfication
`--verify-download {0,1,2}` specifies verification level:
- `0` - only verified allowed,
- `1` - allow missing checksum,
- `2` - allow failed checksum.
Please see the documentation for further information:
- https://rvm.io/rubies/installing/
- https://rvm.io/rubies/named/