Installing ruby-debug19 with rvm and bundle to use it with with rails 3.2
# Solution is described here:
# http://rails.vandenabeele.com/blog/2011/12/21/installing-ruby-debug19-with-ruby-1-dot-9-3-on-rvm/
echo "This will install ruby-debug19 dependencies"
export ruby_version=ruby-1.9.3-p125
gem install linecache19 -- --with-ruby-include=$rvm_path/src/$ruby_version
gem install ruby-debug-base19 -- --with-ruby-include=$rvm_path/src/$ruby_version
# ...
group :development do
gem 'linecache19'
gem 'ruby-debug-base19'
gem 'ruby-debug19', :require => 'ruby-debug'
end