Skip to content

Instantly share code, notes, and snippets.

@garyharan
Created March 15, 2012 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garyharan/2047625 to your computer and use it in GitHub Desktop.
Save garyharan/2047625 to your computer and use it in GitHub Desktop.
Installing ruby-debug with ruby 1.9.3
# After installing ruby-debug19, run this file.
#
# References:
# http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug
# http://stackoverflow.com/questions/8087610/ruby-debug-with-ruby-1-9-3
echo "Installing ruby-debug with $MY_RUBY_HOME ..."
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_VERSION}"
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