Skip to content

Instantly share code, notes, and snippets.

@cwsaylor
Created March 6, 2009 14:18
Show Gist options
  • Save cwsaylor/74918 to your computer and use it in GitHub Desktop.
Save cwsaylor/74918 to your computer and use it in GitHub Desktop.
Compile Readline on Mac OS X
# Compile readline on Mac OS X
cd /usr/local/src
curl -O ftp://ftp.gnu.org/gnu/readline/readline-5.2.tar.gz
tar xzvf readline-5.2.tar.gz
cd readline-5.2
curl -O http://ftp.gnu.org/gnu/readline/readline-5.2-patches/readline52-012
patch -p0 < readline52-012
./configure --prefix=/usr/local
make
sudo make install
# Now follow Dan Benjamin's instructions for installing Ruby on Mac
# http://hivelogic.com/articles/2008/02/ruby-rails-leopard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment