1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

Use RVM stable branch and update option to install gems without docs

This commit is contained in:
David O' Rojo 2019-09-02 22:11:38 -05:00
parent 728f3536b4
commit 503518846d

View File

@ -149,7 +149,7 @@ install_rvm() {
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash
source $HOME/.rvm/scripts/rvm
rvm get head
rvm get stable
}
###
@ -159,8 +159,8 @@ install_ruby() {
sudo apt-get install -y libxml2-dev libxslt1-dev libpq-dev libidn11-dev
rvm install ruby-2.3.6
rvm use ruby-2.3.6@global
gem update --system --no-ri --no-rdoc
gem update --no-ri --no-rdoc
gem update --system --no-doc
gem update --no-doc
rvm use ruby-2.3.6 --default
rvm cleanup all
}