Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 1st, 2012  |  syntax: None  |  size: 0.57 KB  |  hits: 4  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Install with:
  2. # bash < <(curl -L https://raw.github.com/gist/1982760)
  3. #
  4. # Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
  5.  
  6. echo "Installing ruby-debug with ruby-1.9.3-p125 ..."
  7.  
  8. curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
  9. curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
  10.  
  11. 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/
  12.  
  13. rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem
  14.  
  15. gem install ruby-debug19
  16.  
  17. echo "Done."