我有一个铁路3.0.0项目,使用Rub1.9.2。 现在,我试图用一台新计算机,使用目前的快车,我要说:
$ rails s
/Users/michael/.rvm/gems/ruby-1.9.2-p318@global/gems/bundler-1.1.3/lib/bundler/resolver.rb:129:in `block in resolve : Bundler could not find compatible versions for gem "bundler": (Bundler::VersionConflict)
In Gemfile:
rails (= 3.0.0) ruby depends on
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.1.3)
但我已经使用过。
gem install rails -v 3.0.0
gem install bundler -v 1.0.0
gem install bundler -v 1.0.2
因此,在Igem list
时,我将看到
bundler (1.1.3, 1.0.22, 1.0.0)
rails (3.0.0)
因此,它如何仍然抱怨铁路3.0.0需要1.000牛奶,没有吗? 如何使该项目再次运行?
最新情况:我的Gemfile主要是评论,但下列情况除外:
source http://rubygems.org
gem rails , 3.0.0
gem sqlite3-ruby , :require => sqlite3
Update 2: if I run bundle check
:
$ bundle check
Your Gemfile s dependencies could not be satisfied
Install missing gems with `bundle install`
$ bundle install
Fetching gem metadata from http://rubygems.org/.........
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 3.0.0) ruby depends on
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.1.3)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?