- sed
- tar
- curl
- gnupg
Import the mpapis Public Key through GPG (GNU Privacy Guard)
$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
Obs.: maybe you’ll can use gpg2
.
See more about the security here.
- Open the menu
Edit
>Profile Preferences
- Click on tab
Command
and mark the checkboxRun command as a login shell
.
See more about integration here.
$ \curl -sSL https://get.rvm.io | bash -s -- --ignore-dotfiles
$ echo "source ~/.rvm/scripts/rvm" >> ~/.profile
Obs.: .profile should contain
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
$ source ~/.profile
$ rvm install <version>
Obs.: For another user will be necessary to reinstall an already installed version.
$ rvm use <version> --default
In a especific root folder project
$ rvm --ruby-version use <version>
For see the available list for choose, run:
$ rvm list
$ rvm get stable
$ rvm reload
The RVM project index is here.