Bundler无法找到适用于宝石“sass”的兼容版本。 [英] Bundler could not find compatible versions for gem "sass"
本文介绍了Bundler无法找到适用于宝石“sass”的兼容版本。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用中间人3.3.9和
I am using middleman 3.3.9 and
gem 'sass-rails', '~> 4.0.3'
gem 'bootstrap-sass', '~> 3.3.1'
gem 'bootstrap-timepicker-rails'
gem 'sass', '~> 3.2.19'
运行bundle install时,出现此错误:
When I run bundle install, I get this error:
Bundler could not find compatible versions for gem "sass":
In Gemfile:
middleman (~> 3.3.9) ruby depends on
sass (< 4.0, >= 3.4.0) ruby
sass (3.2.19)
我怎样才能做到这一点?
How can I make this pass?
推荐答案
一个相关的宝石冲突问题。你已经锁定了 sass-rails
,所以它不能引入足够新的 sass
来满足版本 middleman
。
You're having a dependent gem conflict problem. You've locked sass-rails
down so it can't bring in a sass
that's new enough to satisfy the version of middleman
that you're running.
您需要降低版本 middleman
,或者增加版本 sass-rails
。
You need to either lower the version of middleman
that you're using, or increase the version of sass-rails
.
这篇关于Bundler无法找到适用于宝石“sass”的兼容版本。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文