Skip to content

Instantly share code, notes, and snippets.

@manuelmorales
Created August 17, 2011 15:01
Show Gist options
  • Save manuelmorales/1151707 to your computer and use it in GitHub Desktop.
Save manuelmorales/1151707 to your computer and use it in GitHub Desktop.
RVM in Snow Leopard
bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function' >> ~/.bash_profile
source ~/.bash_profile
# You might not need this
curl -O ftp://ftp.gnu.org/gnu/readline/readline-6.1.tar.gz
tar xzvf readline-6.1.tar.gz
cd readline-6.1
./configure --prefix=$HOME/readline
make
make install
rvm install 1.8.7 -C --enable-shared,--with-readline-dir=$HOME/readline
rvm 1.8.7
rvm rubygems 1.6.2
gem sources -a http://rubygems.org
gem install rails --version 2.3.14
gem install rspec -v 1.3.1 && gem install rspec-rails -v 1.3.3
gem install open4 --version 1.0.1
rake gems:install
# You might not need this
wget http://sqlite.org/sqlite-amalgamation-3.7.3.tar.gz
tar xzvf sqlite-amalgamation-3.7.3.tar.gz
cd sqlite-3.7.3
./configure --prefix=$HOME/sqlite
make
make install
gem install sqlite3-ruby -- --with-sqlite3-dir=$HOME/sqlite
gem install engineyard
gem install rb-skypemac
echo 'rvm 1.8.7 # Always use RVM' >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment