问题
I have upgraded my app to use Ruby 1.9.3p0 and Rails 3.2.2. To get bundler working I changed this:
gem 'ruby-debug'
to this:
gem 'ruby-debug19'
Now rails server
gives:
Could not find archive-tar-minitar-0.5.2 in any of the sources
Run `bundle install` to install missing gems.
Running bundle install
does not help. The error goes away when I remove ruby-debug19
gem from my Gemfile, but then debugging does away too.
I also tried changing the Gemfile to:
gem 'ruby-debug19', :require => 'ruby-debug'
No help. I'm kinda new to Rails, so maybe it's something obvious.
回答1:
I found the solution here.
来源:https://stackoverflow.com/questions/9571113/debug-not-working-after-upgrade-to-ruby-1-9-3-and-rails-3-2-2