While firing up a new Rails 3 app this morning with Ruby 1.9.2 and RVM, I noticed that the ruby-debug gem and the linecache dependent gem don't fully support Ruby 1.9.2, yet (I'm running Mac OS X - Snow Leopard).
After searching the interwebs, I found an easy hack to get the 'bundle install' to run successfully. Update your Gemfile to include ruby-debug19 instead of ruby-debug. Done.
Example:
group :development, :test do
gem 'ruby-debug19'
gem 'rspec', :require => 'spec'
gem 'webrat'
end
One thing to keep in mind when installing the gem under RVM, you may need to specify your ruby path if it's not installed under ~/.rvm/src/[ruby path]. Check out the link below for more details.
References
http://wiki.github.com/mark-moseley/ruby-debug/installation-command-line-version
