Skip to content

Instantly share code, notes, and snippets.

@thbar
Forked from robinator/rvm-install.sh
Created December 1, 2011 17:06
Show Gist options
  • Save thbar/1418240 to your computer and use it in GitHub Desktop.
Save thbar/1418240 to your computer and use it in GitHub Desktop.
RVM installation for Flywheel
## 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