我正在尝试安装gem compass 960 plugin
我做了
D:\Websites\css3-mega-menu>gem install compass-960-plugin
Successfully installed compass-960-plugin-0.10.0
1 gem installed
Installing ri documentation for compass-960-plugin-0.10.0...
Installing RDoc documentation for compass-960-plugin-0.10.0...
似乎没问题。但是......
D:\Websites\css3-mega-menu>compass frameworks
Available Frameworks & Patterns:
* blueprint
- blueprint/basic - A basic blueprint install that mimics the actual blueprint css.
- blueprint/buttons - Button Plugin
- blueprint/link_icons - Icons for common types of links
- blueprint/project - The blueprint framework.
- blueprint/semantic - The blueprint framework for use with semantic markup.
* compass
- compass/ellipsis - Plugin for cross-browser ellipsis truncated text.
- compass/extension - Generate a compass extension.
- compass/project - The default project layout.
* fancy-buttons
- fancy-buttons/project
但罗盘似乎没有发现它?
答案 0 :(得分:1)
尝试修改config.rb
文件并在顶部添加require "960gs"
。我无法确定价值本身(即它可能只是require "960"
),但我必须将该要求与Susy一起应用:
require "susy"
我在Compass Google Group中问similar question。
答案 1 :(得分:0)
我遇到同样的问题后才遇到这个问题。就像Rob Wilkerson所说,你需要正确的插件。
# Require any additional compass plugins here.
require "ninesixty"
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "stylesheets"
sass_dir = "src"
images_dir = "images"
javascripts_dir = "javascripts"
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true