Installing
-
2. Installing RVM
Then to Install RVM on Debian Buster
First, Import the GPG Key:sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
Then to Install RVM Stable simply play:
curl -L https://get.rvm.io | sudo bash -s stable
Where instead for the latest Development Branch:
curl -sSL https://get.rvm.io | bash
-
3. Setting Up User’s Environment
Start by Adding User to “rvm” Group
Using:sudo usermod -a -G rvm $LOGNAME
Next to Enable the Rvm Configuration through the Bash Environment:
echo 'source "/etc/profile.d/rvm.sh"' >> ~/.bashrc
Again:
echo 'export rvm_path="/usr/local/rvm"' > ~/.rvmrc
And Last:
echo 'export PATH="$GEM_HOME/bin:$PATH"' >> ~/.bashrc
Finally, to Enable it run:
bash
-
4. Fixing Permissions
Now to Setup Permissions on System
It’s Essential to Give Write Permissions to the “rvm” User’s Group with:sudo chmod -R Buster57 /usr/local/rvm
And again possibly to Fix the other Rvm Target:
sudo chmod Buster55 /etc/rvmrc
Contents