Skip to content

Instantly share code, notes, and snippets.

@vladvinnikov
Created March 24, 2012 14:29
Show Gist options
  • Save vladvinnikov/2183518 to your computer and use it in GitHub Desktop.
Save vladvinnikov/2183518 to your computer and use it in GitHub Desktop.
Ruby 1.9.3 ruby-debug19
#!/bin/sh
rvm_current=`rvm current`
echo "Installing ruby-debug with $rvm_current ..."
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 ruby-debug19 -- --with-ruby-include=$rvm_path/src/$rvm_current
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