Skip to content

Instantly share code, notes, and snippets.

@gdakram
Forked from laserlemon/Rails 2 Environment
Created May 16, 2011 17:58
Show Gist options
  • Save gdakram/974962 to your computer and use it in GitHub Desktop.
Save gdakram/974962 to your computer and use it in GitHub Desktop.
Snow Leopard -- RVM, Homebrew, Git, Imagemagick
# Installs on Snow Leopard.
# Homebrew
ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)"
echo 'export PATH=/usr/local/bin:/usr/local/sbin:$PATH' >> ~/.bash_profile
# Close Terminal window.
# Git
brew install git
brew update
brew upgrade
# RVM
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile
# Close Terminal window.
rvm install 1.9.2
rvm 1.9.2 --default
# ImageMagick
# The --disable-openmp flag is due to
# http://stackoverflow.com/questions/2838307/why-is-this-rmagick-call-generating-a-segmentation-fault
brew install -f imagemagick --disable-openmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment