Skip to content

Instantly share code, notes, and snippets.

@amrnt
Forked from yoshioota/gist:2070371
Created June 6, 2012 13:34
Show Gist options
  • Select an option

  • Save amrnt/2881883 to your computer and use it in GitHub Desktop.

Select an option

Save amrnt/2881883 to your computer and use it in GitHub Desktop.
ruby-debug + ruby 1.9.3 + rbenv
# Install with:
# bash < <(curl -L https://raw.github.com/gist/2070371)
#
# renv, ruby 1.9.3-p125, linecache19-0.5.13.gem, ruby-debug-base19-0.11.26.gem
#
# https://raw.github.com/gist/1333785
# http://d.hatena.ne.jp/kurizo/20111225/p1
#
echo "Installing ruby-debug with ruby-1.9.3-p125 ..."
curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem -- --with-ruby-include=$HOME/.rbenv/versions/1.9.3-p125/include/ruby-1.9.1/ruby-1.9.3-p125
rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem
echo "Done."
@amrnt
Copy link
Author

amrnt commented Jun 6, 2012

and put gem 'ruby-debug19', require: 'ruby-debug' in your gem file

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