我要
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)
railties = 4.0.13
是否不满足所有3 railties
个版本条件?
答案 0 :(得分:0)
至少您可以在此处看到Devise要求使用栏杆(“> = 4.1.0”,“ <6.0”)。 https://raw.githubusercontent.com/plataformatec/devise/master/devise.gemspec
因此,您可以尝试在Gemfile中指定版本: gem'railties','〜> 4.1.0'