Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save t7y/2513231 to your computer and use it in GitHub Desktop.
Save t7y/2513231 to your computer and use it in GitHub Desktop.
ruby-debug in ruby-1.9.3-p194 and rbenv
#!/bin/bash
cd /tmp
wget http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
wget http://rubyforge.org/frs/download.php/74596/ruby_core_source-0.1.5.gem
wget http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
wget http://rubyforge.org/frs/download.php/63094/ruby-debug19-0.11.6.gem
export RBENV_INCLUDE=$HOME/.rbenv/versions/1.9.3-p194/include/ruby-1.9.1/ruby-1.9.3-p194
gem install archive-tar-minitar
gem install ruby_core_source-0.1.5.gem -- --with-ruby-include=/$RBENV_INCLUDE
gem install linecache19-0.5.13.gem -- --with-ruby-include=/$RBENV_INCLUDE
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/$RBENV_INCLUDE
gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=/$RBENV_INCLUDE
@tonycoco
Copy link

Use https://github.com/cldwalker/debugger instead of ruby-debug19

@t7y
Copy link
Author

t7y commented Apr 28, 2012

Thanks for the info!

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