-
Notifications
You must be signed in to change notification settings - Fork 2
RVM
redtide edited this page Sep 19, 2020
·
1 revision
Although this is not really a requirement, this is what I use personally to manage Ruby installations on my system.
RVM is a Ruby version manager, it installs and manage different Ruby versions in the system. It is installed locally in the home directory so it doesn't require a super user privilege.
curl -L get.rvm.io > rvm-install
bash < ./rvm-install
For bash completion add to .bashrc
:
# RVM bash completion
[[ -r "$HOME/.rvm/scripts/completion" ]] && source "$HOME/.rvm/scripts/completion"
If necessary in $HOME/.rvm/scripts/completion
replace line 22 with:
source "$HOME/.rvm/scripts/extras/completion.bash"
Set the terminal as login terminal in preferences.
In VSCode add to settings.json
:
"terminal.integrated.shellArgs.linux": [ "-l" ]
$ rvm install 2.7.1
$ rvm use 2.7.1 --default
Copyright (c) 2014-2020 Joel de Guzman. All rights reserved. Distributed under the MIT License