最佳答案
我注释掉了一个 gem,但是‘ bundle install’仍然不能运行。如何找出哪个 gem 依赖于 sys-proctable?
$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Could not find sys-proctable-0.9.2 in any of the sources
$ grep proctable Gemfile
#gem 'sys-proctable', '0.9.2', :path => "vendor/gems"
$ bundle list
Resolving dependencies...
Could not find gem 'rspec-rails (= 2.11.0) ruby' in the gems available on this machine.
$ bundle viz
Resolving dependencies...
Could not find gem 'rspec-rails (= 2.11.0) ruby' in the gems available on this machine.
$ bundle -v
Bundler version 1.3.0
$ ruby -v
ruby 1.9.3p385 (2013-02-06 revision 39114) [i386-cygwin]
Gemfile: http://pastebin.com/9WWMfKtv
我已经尝试了以下故障排除步骤: https://github.com/carlhuda/bundler/blob/1-2-stable/ISSUES.md