-
-
Save lukewendling/1621689 to your computer and use it in GitHub Desktop.
Installing ruby-debug with ruby-1.9.3-p0 and Bundler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install with: | |
# bash < <(curl -L https://raw.github.com/gist/1621689) | |
# | |
# Reference: http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug | |
# | |
# > bundle -v | |
# > Bundler version 1.0.21 | |
echo "Installing ruby-debug with ruby-1.9.3-p0 and Bundler ..." | |
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 --install-dir=vendor/bundler_gems/ruby/1.9.1/ -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/ | |
rm linecache19-0.5.13.gem ruby-debug-base19-0.11.26.gem | |
gem install ruby-debug19 --install-dir=vendor/bundler_gems/ruby/1.9.1/ -- --with-ruby-include=$rvm_path/src/ruby-1.9.3-p0/ | |
echo "Now add \"gem 'ruby-debug19', :require => 'ruby-debug'\" to Gemfile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment