【发布时间】:2020-05-13 01:41:58
【问题描述】:
当我输入 bundle install 时,我得到了这个错误。我试图找到解决方案,但没有解决我的问题。请帮帮我。
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 4.1.8) was resolved to 4.1.8, which depends on
bundler (< 2.0, >= 1.3.0)
Current Bundler version:
bundler (2.0.1)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (< 2.0, >= 1.3.0)', which is required by gem 'rails
(= 4.1.8)', in any of the sources.
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 4.1.8)
animate-rails was resolved to 1.0.10, which depends on
rails
【问题讨论】:
-
删除 gemfile.lock 后尝试
-
感谢您的评论,但没有任何反应。同样的错误
-
rails 4.1.8 需要捆绑器版本
标签: ruby-on-rails bundle