【问题标题】:Problems installing Compass 960 Plugin安装 Compass 960 插件时出现问题
【发布时间】:2011-01-07 12:59:59
【问题描述】:

我正在尝试安装 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

但是罗盘好像没检测到?

【问题讨论】:

    标签: ruby rubygems sass compass-sass


    【解决方案1】:

    尝试编辑您的config.rb 文件并在顶部添加require "960gs"。我不能确定值本身(即它可能只是require "960"),但我必须将要求与 Susy 一起应用:

    require "susy"
    

    我在 Compass Google Group 中询问了similar question

    【讨论】:

      【解决方案2】:

      在遇到同样的问题后,我刚刚遇到了这个问题。就像 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
      

      【讨论】:

        猜你喜欢
        • 2012-01-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2023-03-10
        • 1970-01-01
        • 2021-11-28
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多