forked from rvm/rvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
use
28 lines (15 loc) · 738 Bytes
/
use
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
∴ rvm use [ruby-string]
Setup current shell to use a specific ruby version.
For a list of currently installed ruby string please run
∴ rvm list
To create a gemset if it does not already exist:
∴ rvm --create 1.9.2@funky
For creating a project .rvmrc file - From within the app's root_dir:
∴ rvm --rvmrc 1.9.2@funky
Above commands can be also combined to do it all in one pass:
∴ rvm --rvmrc --create use 1.9.2@funky
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290 with gemset funky
Do not forget to check the generated .rvmrc file - it contains many useful comments.
Note you must still 'rvm rvmrc trust' the newly created .rvmrc
Please see documentation for further information:
https://rvm.io/rvm/basics