我遵循了这个快速演练指南:http://vimeo.com/63509346,并运行了以下命令:
gem install compassgem install singularitygs一切都进行得很好,安装部分没有错误。
不幸的是,在运行此命令时:
compass create foobar -r singularitygs --using singularitygs
我知道这个错误:
Gem::LoadError on line ["2007"] of C: Unable to activate singularitygs-1.2.3, because sass-3.2.19 conflicts with sass (~
> 3.3.0)
Run with --trace to see the full backtrace现在,实际上我已经安装了sass-3.3.10,但是在收到这个错误并阅读了这里的安装指南:https://github.com/Team-Sass/Singularity/wiki/Installation之后,我已经完全卸载了sass,并重新运行了命令gem install compass,这样它就可以根据需要安装sass-2.x.x了。但是由于某些原因,我仍然不能运行compass create... --我得到了同样的错误。
这些是安装在我的电脑上的所有宝石:
*** LOCAL GEMS ***
bigdecimal (1.2.0)
breakpoint (2.4.6)
chunky_png (1.3.1)
compass (0.12.7)
fssm (0.2.10)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
sass (3.2.19)
sassy-maps (0.4.0)
singularitygs (1.2.3)
test-unit (2.0.0.0)如有任何帮助,请告知我是否需要进一步的数据。
干杯,
发布于 2014-07-30 13:10:45
使用bundler创建您的foobar项目。
第一次安装绑定器:
gem install bundler在文件夹中创建一个"GemFile“并放入其中:
gem "sass", "~>3.2.0"
gem "compass", "~>0.12.0"
gem "singularitygs", "~>1.1.2"赛后跑:
bundle install
bundle exec compass create {project name} -r singularitygs --using singularitygs正如https://github.com/Team-Sass/Singularity/wiki/Installation中所建议的
https://stackoverflow.com/questions/25037321
复制相似问题