Building ruby-debug on Ruby 1.9.x

Jun 26, 2010

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.

Hi, I'm Glenn! 👋 I've spent most of my career working with or at startups. I'm currently the Director of Product @ Ockam where I'm helping developers build applications and systems that are secure-by-design. It's time we started securely connecting apps, not networks.

Previously I led the Terraform product team @ HashiCorp, where we launched Terraform Cloud and set the stage for a successful IPO. Prior to that I was part of the Startup Team @ AWS, and earlier still an early employee @ Heroku. I've also invested in a couple of dozen early stage startups.