【问题标题】:susy not working with compass + sass on osxsusy 无法在 osx 上使用 compass + sass
【发布时间】:2014-05-06 17:49:51
【问题描述】:

我已经安装了所有东西,指南针的预版本,sass 的最新版本和 susy(预)的最新版本,这是我的 gem 列表。

bigdecimal (1.2.0) 
bower (0.0.2) 
CFPropertyList (2.2.0) 
chunky_png (1.3.0, 1.2.9) 
compass (1.0.0.alpha.19, 0.12.6) 
compass-core (1.0.0.alpha.19) 
compass-import-once (1.0.4) 
ffi (1.9.3) 
foundation (1.0.4) 
fssm (0.2.10) 
io-console (0.4.2) 
json (1.7.7) 
libxml-ruby (2.6.0) 
listen (1.1.6) 
minitest (4.3.2) 
multi_json (1.10.0) 
nokogiri (1.5.6) 
psych (2.0.0) 
rake (0.9.6) 
rb-fsevent (0.9.4) 
rb-inotify (0.9.4) 
rb-kqueue (0.2.2) 
rdoc (4.0.0) 
rubygems-update (2.2.2) 
sass (3.3.7) 
sqlite3 (1.3.7) 
susy (2.1.2) 
test-unit (2.0.0.0)
thor (0.18.1)

所以理论上我已经安装了所有东西,我创建了一个新的 compass 项目,一切都很顺利,但是在使用 require susy 编辑 config.rb 文件时,出现以下消息:

NoMethodError on line ["267"] of /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.0.alpha.19/lib/compass/configuration/inheritance.rb: susy
Run with --trace to see the full backtrace

知道为什么会这样吗?

【问题讨论】:

    标签: macos sass susy-compass


    【解决方案1】:

    如果你使用 Codekit 2,susy 2 是内置的,你不需要在你的 config.rb 中指定它。

    【讨论】:

      猜你喜欢
      • 2014-09-30
      • 1970-01-01
      • 2014-09-13
      • 1970-01-01
      • 2014-04-13
      • 2013-07-15
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多