-
-
Save thbar/1418240 to your computer and use it in GitHub Desktop.
RVM installation for Flywheel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## As root | |
# https://rvm.beginrescueend.com/rvm/install/ | |
groupadd rvm | |
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm) | |
# add below to ~/.bash_profile at bottom (for both root and deploy) | |
[[ -s '/usr/local/lib/rvm' ]] && source '/usr/local/lib/rvm' | |
# add below to ~/.gemrc at bottom (for both root and deploy) | |
install: --no-rdoc --no-ri | |
update: --no-rdoc --no-ri | |
usermod -a -G rvm root # add root to the rvm group | |
usermod -a -G rvm deploy # add deploy to the rvm group | |
rvm install 1.9.2 | |
rvm use 1.9.2 | |
gem install bundler | |
gem install passenger | |
passenger-install-apache2-module | |
# copy config/deploy.rb from datawarehouse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment