我将omniauth gem添加到我的gemfile中,并尝试运行bundle install,但收到有关Rails和bundler版本不兼容的消息。我尝试更新导轨,但收到有关与其他宝石不兼容的消息。如何将捆绑器降级到1.0?
$ bundle install
Fetching gem metadata from http://rubygems.org/......
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.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
和
$ bundle update rails
Fetching gem metadata from http://rubygems.org/......
Fetching gem metadata from http://rubygems.org/..
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
factory_girl_rails (>= 0) ruby depends on
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.1.1)
Gem bundler-2.1.2 cannot be uninstalled because it is a default gem