Create a gist now

Instantly share code, notes, and snippets.

ruby-debug in ruby-1.9.3 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-p0/include/ruby-1.9.1/ruby-1.9.3-p0
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment