Skip to content

Instantly share code, notes, and snippets.

@denyago
Created December 26, 2011 13:05
Show Gist options
  • Save denyago/1521093 to your computer and use it in GitHub Desktop.
Save denyago/1521093 to your computer and use it in GitHub Desktop.
Insatall ruby-debug19 on ruby 1.9.3-p0 and Rails 3.1

Patch for load speed: https://gist.github.com/1484985

cd /tmp
git clone git://gist.github.com/1484985.git
rvm install ruby-1.9.3-p0 --patch /tmp/1484985/cached_lp_sorted_lf.patch -n patched

Download fresh ruby-debug19

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 -- --with-ruby-include="$rvm_path/src/`rvm tools strings`"
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include="$rvm_path/src/`rvm tools strings`"

Note this in Gemfile

  gem 'rb-readline'
  gem 'linecache19', '0.5.13'
  gem 'ruby-debug-base19', '0.11.26'
  gem 'ruby-debug19', :require => 'ruby-debug'

Run

bundle
@the-undefined
Copy link

the-undefined commented Apr 19, 2012 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment