Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Created April 24, 2012 23:05
Show Gist options
  • Save wolfeidau/2484471 to your computer and use it in GitHub Desktop.
Save wolfeidau/2484471 to your computer and use it in GitHub Desktop.
Building ruby with some dtrace
# 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