Skip to content

Instantly share code, notes, and snippets.

@bsodmike
Last active December 14, 2015 15:49
Show Gist options
  • Save bsodmike/5110684 to your computer and use it in GitHub Desktop.
Save bsodmike/5110684 to your computer and use it in GitHub Desktop.
Install ruby-debug19 with Falcon patched ruby-1.9.3-p327-fast
### UPDATE: ruby-debug19 is no longer maintained, use https://github.com/cldwalker/debugger
# Install with:
# bash < <(curl -L https://raw.github.com/gist/5110684)
#
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
echo "Installing ruby-debug with ruby-1.9.3-p327-fast ..."
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-p327-fast
rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem
echo "Done."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment