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
Skipping step 1 and starting with the curl commands worked fine for me with Ruby-1.9.3-p125, thanks Denis