Neurohazard
暮雲煙月,皓首窮經;森羅萬象,如是我聞。

Ruby and RVM 简易说明

wpadmin~July 30, 2018 /InfoSec/System Management

Ruby and RVM

正文

https://rvm.io/
https://rvm.io/rvm/install

gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable

将用户加入 rvm 用户组
https://blog.hqcodeshop.fi/archives/279-Installing-multi-user-Ruby-with-RVM.html

$ getent group rvm
usermod -a -G examplegroup exampleusername
# usermod -a -G rvm joeuser

# 查看 rvm 用户组有哪些用户
# 也可以在 /etc/group 中查看
# getent group rvm

多用户模式

# 启动 RVM
source /etc/profile.d/rvm.sh

Leave a Reply

Your email address will not be published. Required fields are marked *