Created
April 24, 2012 23:05
-
-
Save wolfeidau/2484471 to your computer and use it in GitHub Desktop.
Building ruby with some dtrace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install libyaml via homebrew cause I can't be bothered going and finding it. | |
brew install libyaml | |
# going to work in my versions dir, will remove sources afterwards.. | |
cd /Users/markw/.rbenv/versions | |
# clone ruby goodness | |
git clone https://github.com/tenderlove/ruby.git | |
# checkout the probes branch | |
git checkout probes | |
# run autoconf to build configure script | |
autoconf | |
# configure probably a bad version number but it will do for now.. should probably use 2.0.0dev | |
./configure --prefix=/Users/markw/.rbenv/versions/2.0.0-p1 --disable-install-doc --with-opt-dir=/usr/local/Cellar/libyaml/0.1.4 &> configure.log | |
# use all the cores.. | |
make -j4 | |
# install | |
make install | |
rbenv local 2.0.0-p1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment