Install RVM
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:
Set the terminal as login terminal in preferences.
In VSCode add to settings.json: