Ruby

osx ruby

libgmp problem on El Capitan

After upgrading to El Capitan I ran into a weird issue trying to update the github-pages Ruby gem. It failed saying it could not find libgmp, but I knew it was installed and updating it to the latest version didn’t help either. Here’s the output …

osx dtrace

Running DTrace in Ruby on MacOS X

Since version 2 Ruby comes with DTrace probes, which lets you dynamically instrument a running program. Unfortunately the Ruby shipped with MacOS X doesn’t have DTrace enabled, when you try to list the available probes, you’ll see this: martin$ …