Skip to content

Instantly share code, notes, and snippets.

@pjkelly
Created August 24, 2012 18:30
Show Gist options
  • Save pjkelly/3454058 to your computer and use it in GitHub Desktop.
Save pjkelly/3454058 to your computer and use it in GitHub Desktop.
Install REE on Mountain Lion with rbenv
  1. Make sure you've install X11 from here: http://xquartz.macosforge.org/landing/.
  2. Set CPPFLAGS environment variable:

$ export CPPFLAGS=-I/opt/X11/include 3. Find gcc-4.2 on your system:

$ which gcc-4.2
=> /Users/pjkelly/Developer/bin/gcc-4.2
  1. Install ruby in the context of your gcc-4.2 installation:

$ CC=/Users/pjkelly/Developer/bin/gcc-4.2 rbenv install ree-1.8.7-2011.12

Source

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