Follow the instructions here:
- install the composite gems as described here: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
- add the gist for the gemfile to your gemfile
- run
bundle config build.ruby-debug-base19 --with-ruby-include=/YOUR/PATH/TO/src/ruby-1.9.3-p0
- bundle install --local
You may want/need to blow away Gemfile.lock to make this work.