Skip to content

Instantly share code, notes, and snippets.

@pkoch

pkoch/gist:1903728

Forked from dx7/gist:1333785
Created Feb 24, 2012
Embed
What would you like to do?
Installing ruby-debug with ruby-1.9.3
# Install with:
# bash < <(curl -L https://raw.github.com/gist/1903728)
#
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
# Stop on errors
set -e
echo "Downloading linecache19-0.5.13"
curl -sS -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
echo "Downloading ruby-debug-base19-0.11.26"
curl -sS -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem
echo "Installing gems"
gem install linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem --no-rdoc --no-ri -- --with-ruby-include="$rvm_path/src/`rvm tools strings`"
echo "Cleaning up"
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