Skip to content

Instantly share code, notes, and snippets.

@sos4nt
Last active September 28, 2015 01:38
Show Gist options
  • Save sos4nt/1363753 to your computer and use it in GitHub Desktop.
Save sos4nt/1363753 to your computer and use it in GitHub Desktop.
Using ruby-debug19 with Ruby 1.9.3, RVM and Bundler
#!/bin/bash
# Run using: bash <(curl -s https://raw.github.com/gist/1363753)
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-1.9.3-p0/
rm linecache19-0.5.13.gem
rm ruby-debug-base19-0.11.26.gem
bundle update ruby-debug19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment