Skip to content

Instantly share code, notes, and snippets.

@brainopia
Created March 24, 2012 08:39
Show Gist options
  • Save brainopia/2180179 to your computer and use it in GitHub Desktop.
Save brainopia/2180179 to your computer and use it in GitHub Desktop.
#!/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