« Back to Index

Ruby: RVM

View original Gist on GitHub

Tags: #ruby #rvm

Ruby RVM.bash

# install rvm
#
curl -sSL https://get.rvm.io | bash

# lookup available ruby interpreters 
#
rvm list known

# install specific ruby version
#
rvm install "ruby-2.5.3"

# create a project scoped gemset (e.g. similar to a virtual environment in Python)
#
rvm 2.5.3@foo --create

# switch to specific version
#
rvm 2.5.3@foo