Skip to content

Instantly share code, notes, and snippets.

@robinator
Created October 21, 2011 17:54
Show Gist options
  • Save robinator/1304479 to your computer and use it in GitHub Desktop.
Save robinator/1304479 to your computer and use it in GitHub Desktop.
RVM installation for Flywheel
## As root
# https://rvm.beginrescueend.com/rvm/install/
groupadd rvm
curl -L https://get.rvm.io | bash -s stable --ruby
# 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
# this should already be installed:
rvm install 1.9.3
rvm use 1.9.3 --default
gem install bundler
gem install passenger
passenger-install-nginx-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