Skip to content

Instantly share code, notes, and snippets.

@ayumin
Created April 30, 2012 14:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayumin/2558889 to your computer and use it in GitHub Desktop.
Save ayumin/2558889 to your computer and use it in GitHub Desktop.
Ruby compile option (Mac OSX)
#!/usr/bin/sh
make realclean
autoconf
./configure --prefix=~/tmp/ruby-trunk \
--with-gcc=gcc-4.2 \
--with-arch=x86_64 \
--with-readline-dir=/usr/local \
--with-openssl-dir=/usr/local/Cellar/openssl/0.9.8s \
--with-gdbm-dir=/usr/local \
--with-libyaml-dir=/usr/local \
--with-zlib-dir=/usr/local
make all
make test
make test-all TESTS='-v -j 4'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment