Skip to content

Instantly share code, notes, and snippets.

@crmaxx
Forked from alanstevens/install-rvm.sh
Last active September 29, 2016 08:25
Show Gist options
  • Save crmaxx/4598302 to your computer and use it in GitHub Desktop.
Save crmaxx/4598302 to your computer and use it in GitHub Desktop.
Amazon AWS EC2 production for Ruby on Rails
#!/bin/bash
bash < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
source ~/.bash_profile
rvm install 1.9.3-falcon --patch falcon
rvm use 1.9.3-falcon --default
rvm use 1.9.3-falcon@global
gem install rails --no-rdoc --no-ri
gem install bundler --no-rdoc --no-ri
echo "install: --no-rdoc --no-ri" >> ~/.gemrc
echo "update: --no-rdoc --no-ri" >> ~/.gemrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment