本文介绍了解析捆绑程序的冲突输出消息时遇到问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我得到了
Bundler could not find compatible versions for gem "railties":
In Gemfile:
some_gem was resolved to 0.0.1, which depends on
devise (>= 3.2.4, < 4.0.0) was resolved to 3.5.10, which depends on
railties (>= 3.2.6, < 5)
some_gem was resolved to 0.0.1, which depends on
rails (~> 4.0.13) was resolved to 4.0.13, which depends on
railties (= 4.0.13)
rspec-rails (~> 3.8) was resolved to 3.8.2, which depends on
railties (>= 3.0)
不是铁路= 4.0.13
是否满足所有3个 railles
版本条件?
Doesn't railties = 4.0.13
satisfy all 3 railties
version conditions?
推荐答案
至少,Devise需要栏杆(> = 4.1.0,< 6.0)看这里。
At least, Devise requires railties (">= 4.1.0", "< 6.0"), as you can see here.https://raw.githubusercontent.com/plataformatec/devise/master/devise.gemspec
因此,您可以尝试在Gemfile中指定版本:
gem'railties','〜> 4.1.0 '
So you can try specifying the version in your Gemfile: gem 'railties', '~> 4.1.0'
这篇关于解析捆绑程序的冲突输出消息时遇到问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!