Skip to content

Instantly share code, notes, and snippets.

@imajes
Created February 1, 2012 18:18
Show Gist options
  • Save imajes/1718439 to your computer and use it in GitHub Desktop.
Save imajes/1718439 to your computer and use it in GitHub Desktop.
make ruby debug work in 1.9.3 with bundler
gem 'ruby-debug19', '0.11.6', :require => 'ruby-debug'
# FIXME: forcing rdebug to work on 1.9.3
gem 'linecache19', '0.5.13'
gem 'ruby-debug-base19', '0.11.26'

Follow the instructions here:

  1. install the composite gems as described here: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
  2. add the gist for the gemfile to your gemfile
  3. run bundle config build.ruby-debug-base19 --with-ruby-include=/YOUR/PATH/TO/src/ruby-1.9.3-p0
  4. bundle install --local

You may want/need to blow away Gemfile.lock to make this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment