Sass gem 冲突
Sass gem conflict
当我想在我的 GitBash 中启动服务器时,我收到下一条红色字母的消息:
Bundler could not find compatible versions for gem "sass":
In snapshot (Gemfile.lock):
sass (= 3.5)
In Gemfile:
sass (= 3.5) x86-mingw32
compass (>= 1.0.3, ~> 1.0) x86-mingw32 was resolved to 1.0.3, which depends on
sass (< 3.5, >= 3.3.13) x86-mingw32
sass-rails (>= 5.0.7, ~> 5.0) x86-mingw32 was resolved to 5.0.7, which depends on
sass (~> 3.1) x86-mingw32
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
在过去的几个小时里,我真的一直在为这个问题伤脑筋。有人可以帮忙吗?
将 sass-rails 替换为 gem 'sass-rails','~> 6.0.0.beta1' 将解决您的问题。并使用 sass 版本 3.4
如果您不想使用 sass rails 的测试版,那么您必须将指南针降级到 gem 'compass','~> 0.12 .1'.
当我想在我的 GitBash 中启动服务器时,我收到下一条红色字母的消息:
Bundler could not find compatible versions for gem "sass":
In snapshot (Gemfile.lock):
sass (= 3.5)
In Gemfile:
sass (= 3.5) x86-mingw32
compass (>= 1.0.3, ~> 1.0) x86-mingw32 was resolved to 1.0.3, which depends on
sass (< 3.5, >= 3.3.13) x86-mingw32
sass-rails (>= 5.0.7, ~> 5.0) x86-mingw32 was resolved to 5.0.7, which depends on
sass (~> 3.1) x86-mingw32
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
在过去的几个小时里,我真的一直在为这个问题伤脑筋。有人可以帮忙吗?
将 sass-rails 替换为 gem 'sass-rails','~> 6.0.0.beta1' 将解决您的问题。并使用 sass 版本 3.4
如果您不想使用 sass rails 的测试版,那么您必须将指南针降级到 gem 'compass','~> 0.12 .1'.