Skip to content

Instantly share code, notes, and snippets.

@andreimaxim
Created October 16, 2009 02:20
Show Gist options
  • Save andreimaxim/211484 to your computer and use it in GitHub Desktop.
Save andreimaxim/211484 to your computer and use it in GitHub Desktop.
## Ruby Enterprise Edition 1.8.7 on Mac OS X Snow Leopard
# Install readline 6.0. Might not be necessary.
curl -O ftp://ftp.cwru.edu/pub/bash/readline-6.0.tar.gz
tar xzvf readline-6.0.tar.gz
cd readline-6.0
./configure --prefix=/usr/local
make
sudo make install
cd ..
# Install REE 1.8.7 20090928
curl -O http://rubyforge.org/frs/download.php/64475/ruby-enterprise-1.8.7-20090928.tar.gz
tar xzvf ruby-enterprise-1.8.7-20090928.tar.gz
cd ruby-enterprise-1.8.7-20090928
./install -c '--with-readline-dir=/usr/local' --no-tcmalloc
# If you want to use RubyCocoa, change the last line to:
# ./install -c '--with-readline-dir=/usr/local --enable-shared' --no-tcmalloc
# but this will decrease performance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment