public
Last active — forked from dx7/gist:1333785

Installing ruby-debug with ruby-1.9.3-p125

  • Download Gist
gistfile1.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Install with:
# bash < <(curl -L https://raw.github.com/gist/1848409)
#
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
 
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=$rvm_path/src/ruby-1.9.3-p125/
 
rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem
 
echo "Done."

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.