Skip to content

Instantly share code, notes, and snippets.

@consti
Last active September 11, 2015 03:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save consti/98e8c5140ca8c9ac0528 to your computer and use it in GitHub Desktop.
Save consti/98e8c5140ca8c9ac0528 to your computer and use it in GitHub Desktop.
Mac OS X El Capitan – Homebrew / Rails
  • Download the El Capitan Beta and install
  • Download and install XQuartz: https://xquartz.macosforge.org/landing/
  • Download the Xcode Beta and install (drag & drop into /Applications)
  • Rename Xcode-Beta.app to Xcode.app (remove old version)
  • Start Xcode.app and agree to ToS and finish installation
  • Start up iTerm/Terminal:
# Install Xcode extensions
xcode-select --install

# Reset permissions for /usr/local
sudo chown -R $USER /usr/local

# Run `brew doctor`
brew doctor

# Install missing packages (e.g. v8-315 – could be different when you are running this)
brew install v8-315

# Running `brew doctor` should not show any more errors.

I ran in some more problems when trying to launch puma (Library not loaded: /usr/local/lib/libssl.1.0.0.dylib).

I therefore removed and rebuilt ruby to include the current version of libssl:

rvm uninstall ruby-2.2.2
rvm get head
rvm install ruby-2.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment