Installing Ruby 2.0.0 with Dtrace Support

The aim of this post is to guide the reader through the process of installing ruby 2.0.0 into rbenv with dtrace probes enabled. As rbenv uses ruby-build, which currently downloads and compiles a copy of openssl rather than using the one homebrew i prefer to use the homebrew one. Note that you MUST install xcode before installing anything, then install homebrew, rbenv, and lastly openssl. ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" brew install rbenv brew install openssl Next to overcome the fact that OSX doesn’t have an openssl ca certificate bundle, use the following brew to create and maintain one using the CA certs stored in your keychain....

February 26, 2013 2 min