1RBENV(1) RBENV(1)
2
3
4
6 rbenv - Simple Ruby Version Management
7
9 Initialize rbenv for your acccount:
10
11 $ rbenv init
12 $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
13 # restart your shell after this
14
15 Install different Ruby interpreters (requires the ruby-build package):
16
17 $ rbenv install 2.4.0
18
19 Switch between different Ruby interpreters:
20
21 $ rbenv global 2.4.0
22 $ ruby -v
23 ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
24 $ rbenv global system
25 $ ruby -v
26 ruby [whatever version of Ruby Debian provides by default]
27
28 The original rbenv README with a more comprehensive documentation,
29 including all of the available commands, is available at
30 /usr/share/doc/rbenv/README.md.gz
31
33 This manual page was written for the Debian system by Antonio Terceiro
34 <terceiro@debian.org> and may be used by others.
35
36
37
38 2023-07-21 RBENV(1)