Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ruby-1.9.x debugger install script
RUBY_VERSION=`rbenv version | cut -f 1 -d " "`
RUBY_BASE_VERSION=`rbenv version | grep '^1.9.[0-9]-p[0-9]\{1,\}' -o`
curl -s -L > linecache19-0.5.13.gem
gem install linecache19-0.5.13.gem
rm linecache19-0.5.13.gem
curl -s -L > ruby-debug-base19-0.11.26.gem
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/$USER/.rbenv/versions/$RUBY_VERSION/include/ruby-1.9.1/ruby-$RUBY_BASE_VERSION
rm ruby-debug-base19-0.11.26.gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment