Your company here ā€” click to reach over 10,000 unique daily visitors

rbenv - Man Page

Simple Ruby Version Management

Examples (TL;DR)


Initialize rbenv for your acccount:

  $ rbenv init
  $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
  # restart your shell after this

Install different Ruby interpreters (requires the ruby-build package):

  $ rbenv install 2.4.0

Switch between different Ruby interpreters:

  $ rbenv global 2.4.0
  $ ruby -v
  ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
  $ rbenv global system
  $ ruby -v
  ruby [whatever version of Ruby Debian provides by default]

The original rbenv README with a more comprehensive documentation, including all of the available commands, is available at /usr/share/doc/rbenv/README.md.gz


This manual page was written for the Debian system by Antonio Terceiro <terceiro@debian.org> and may be used by others.

Referenced By