Created
December 12, 2010 16:17
-
-
Save waynegraham/738136 to your computer and use it in GitHub Desktop.
This file contains 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
#! /bin/bash | |
RUBY_VERSION=1.8.7 | |
RAILS_VERSION=2.3.10 | |
# This script will help install RVM, ruby, and rails | |
# Install ruby through rvm system to the local user | |
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
#install ruby 1.8.7 | |
rvm install ruby-$RUBY_VERSION | |
# create an rvm gemset for rails 2.3.10 | |
rvm gemset create rails-$RAILS_VERSION | |
# use ruby 1.8.7 and the rails 2.3.10 gemset | |
rvm ruby-$RUBY_VERSION@rails-$RAILS_VERSION | |
# install rails 2.3.10 skipping system documentation | |
gem install rails -v $RAILS_VERSION --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment