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'm currently Director of Product @ HashiCorp, and we're hiring! If you'd like to come and work with me and help make Terraform Cloud even more amazing we have multiple positions opening in Product ManagementDesign, and Engineering & Engineering Management across a range of levels (i.e., junior through to senior). Please send in an application ASAP so we can get in touch.