Skip to content

Instantly share code, notes, and snippets.

@gosuri
Last active December 13, 2015 19:39
Show Gist options
  • Save gosuri/4964454 to your computer and use it in GitHub Desktop.
Save gosuri/4964454 to your computer and use it in GitHub Desktop.
Mountain Lion Setup with RVM + Homebrew

Instructions for setting up RVM on Mountain Lion

Homebrew and RVM

Install XCode

  • Update to the latest XCode 4.4 from the App Store
  • Install the Command Line Tools
sudo xcodebuild -license

Install and set homebrew (if you haven't already)

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew install autoconf automake openssl libyaml libxml2 libxslt libksba sqlite pkg-config

Install GCC 4.2

brew install https://raw.github.com/Homebrew/homebrew-dupes/master/apple-gcc42.rb

Install RVM

\curl -#L https://get.rvm.io | bash -s stable --autolibs=3 --ruby

Install Ruby 1.9.3

rvm install ruby-1.9.3-p0

Use ruby 1.9.3 as the default

rvm use ruby-1.9.3-p0 --default

Postgres

brew install postgres
ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist

MacVim + Janus

About Janus https://github.com/carlhuda/janus

brew install macvim
curl -Lo- https://bit.ly/janus-bootstrap | bash

Extras

Solarized Theme for MacVim

Issues

Reinstall libyml

rvm pkg install libyaml
rvm 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment