Glenn Gillen

Building ruby-debug on Ruby 1.9.x

If you've tried to install ruby-debug with ruby 1.9.x there are two things you need to know. First, you need to be using the ruby-debug19 gem and not the regular ruby-debug one. Second, you'll probably need to point to the ruby source for the version of 1.9 that you are using. And that is as simple as:


gem install ruby-debug19 -- --with-ruby-include=`cd ~/.rvm/src/ruby-1.9.2-preview3; pwd`

Obviously, replace 1.9.2-preview3 above with whatever release you are using.

You're welcome.

Glenn Gillen

I'm an advisor to, and investor in, early-stage tech startups. Beyond that I'm an incredibly fortunate husband and father. Working on a developer-facing tool or service? Thinking about starting one? Email me and let me know or come to one of our days to help make it a reality.