2014-08-29 80 views
1

類似於這裏提出的其他問題,除了我之前成功地使用過Compass和Singularity,並且我正在使用Bundler。指南針找不到SingularityGS

這是我從羅盤表出現錯誤:

LoadError on line ["179"] of /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-core-1.0.1/lib/compass/configuration/data.rb: cannot load such file -- singularity 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-core-1.0.1/lib/compass/configuration/data.rb:179:in `require' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/config.rb:28:in `get_binding' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/serialization.rb:24:in `eval' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/serialization.rb:24:in `parse_string' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/serialization.rb:15:in `block in _parse' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/serialization.rb:14:in `open' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/serialization.rb:14:in `_parse' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/file_data.rb:7:in `block in new_from_file' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-core-1.0.1/lib/compass/configuration/inheritance.rb:207:in `with_defaults' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/file_data.rb:6:in `new_from_file' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/helpers.rb:19:in `configuration_for' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/configuration/helpers.rb:69:in `add_project_configuration' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/commands/project_base.rb:37:in `add_project_configuration' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/commands/project_base.rb:25:in `configure!' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/commands/project_base.rb:15:in `initialize' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/commands/update_project.rb:41:in `initialize' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/exec/sub_command_ui.rb:42:in `new' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/exec/sub_command_ui.rb:42:in `perform!' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/lib/compass/exec/sub_command_ui.rb:15:in `run!' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/bin/compass:30:in `block in <top (required)>' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/bin/compass:44:in `call' 
    /Users/danmoriarty/Sites/gitrepos/cob-omega/vendor/ruby/2.0.0/gems/compass-1.0.1/bin/compass:44:in `<top (required)>' 
    /Users/danmoriarty/.rvm/gems/ruby-2.0.0-p451/bin/compass:23:in `load' 
    /Users/danmoriarty/.rvm/gems/ruby-2.0.0-p451/bin/compass:23:in `<main>' 
    /Users/danmoriarty/.rvm/gems/ruby-2.0.0-p451/bin/ruby_executable_hooks:15:in `eval' 
    /Users/danmoriarty/.rvm/gems/ruby-2.0.0-p451/bin/ruby_executable_hooks:15:in `<main>' 

這裏是我的Gemfile:

gem 'sass'     # Sass. 
    gem 'sass-globbing'   # Import Sass files based on globbing pattern. 
    gem 'compass'     # Framework built on Sass. 
    gem 'compass-validator'  # So you can `compass validate`. 
    gem 'compass-normalize'  # Compass version of normalize.css. 
    gem 'compass-rgbapng'   # Turns rgba() into .png's for backwards compatibility. 
    gem 'singularitygs', '~>1.2' # Alternative to the Susy grid framework. 
    gem 'toolkit'     # Compass utility from the fabulous Snugug. 
    gem 'breakpoint'    # Manages CSS media queries. 
    gem 'oily_png'    # Faster Compass sprite generation. 
    gem 'css_parser'    # Helps `compass stats` output statistics. 

從我config.rb文件:

# Require any additional compass plugins installed on your system. 
require 'compass-normalize' 
require 'rgbapng' 
require 'toolkit' 
require 'singularity' 
require 'sass-globbing' 

而且我Gemlock文件:

GEM 
    remote: https://rubygems.org/ 
    specs: 
    addressable (2.3.6) 
    breakpoint (2.5.0) 
     sass (~> 3.3) 
     sassy-maps (< 1.0.0) 
    celluloid (0.15.2) 
     timers (~> 1.1.0) 
    celluloid-io (0.15.0) 
     celluloid (>= 0.15.0) 
     nio4r (>= 0.5.0) 
    chunky_png (1.3.1) 
    coderay (1.1.0) 
    color-schemer (0.2.8) 
     compass-blend-modes (~> 0.0.2) 
    compass (1.0.1) 
     chunky_png (~> 1.2) 
     compass-core (~> 1.0.1) 
     compass-import-once (~> 1.0.5) 
     rb-fsevent (>= 0.9.3) 
     rb-inotify (>= 0.9) 
     sass (>= 3.3.13, < 3.5) 
    compass-blend-modes (0.0.2) 
     compass 
    compass-core (1.0.1) 
     multi_json (~> 1.0) 
     sass (>= 3.3.0, < 3.5) 
    compass-import-once (1.0.5) 
     sass (>= 3.2, < 3.5) 
    compass-normalize (1.5) 
     compass (>= 0.12.0) 
    compass-rgbapng (0.2.1) 
     chunky_png (>= 0.8.0) 
     compass (>= 0.10.0) 
    compass-validator (3.0.1) 
    css_parser (1.3.5) 
     addressable 
    em-websocket (0.5.1) 
     eventmachine (>= 0.12.9) 
     http_parser.rb (~> 0.6.0) 
    eventmachine (1.0.3) 
    ffi (1.9.3) 
    formatador (0.2.4) 
    guard (2.6.0) 
     formatador (>= 0.2.4) 
     listen (~> 2.7) 
     lumberjack (~> 1.0) 
     pry (>= 0.9.12) 
     thor (>= 0.18.1) 
    guard-compass (1.1.0) 
     compass (>= 0.10.5) 
     guard (~> 2.0) 
    guard-livereload (2.1.2) 
     em-websocket (~> 0.5) 
     guard (~> 2.0) 
     multi_json (~> 1.8) 
    guard-shell (0.6.1) 
     guard (>= 1.1.0) 
    http_parser.rb (0.6.0) 
    listen (2.7.3) 
     celluloid (>= 0.15.2) 
     celluloid-io (>= 0.15.0) 
     rb-fsevent (>= 0.9.3) 
     rb-inotify (>= 0.9) 
    lumberjack (1.0.5) 
    method_source (0.8.2) 
    multi_json (1.9.3) 
    nio4r (1.0.0) 
    oily_png (1.1.1) 
     chunky_png (~> 1.3.0) 
    pry (0.9.12.6) 
     coderay (~> 1.0) 
     method_source (~> 0.8) 
     slop (~> 3.4) 
    rb-fchange (0.0.6) 
     ffi 
    rb-fsevent (0.9.4) 
    rb-inotify (0.9.4) 
     ffi (>= 0.5.0) 
    sass (3.4.2) 
    sass-globbing (1.1.0) 
     sass (>= 3.1) 
    sassy-maps (0.4.0) 
     sass (~> 3.3) 
    sassy-strings (1.0.0) 
     compass (>= 0.12.2) 
    singularitygs (1.4.0) 
     breakpoint (~> 2.4) 
     sass (~> 3.3) 
    slop (3.5.0) 
    thor (0.19.1) 
    timers (1.1.0) 
    toolkit (1.3.8) 
     breakpoint (>= 2.0.6) 
     color-schemer (>= 0.2.7) 
     compass (>= 0.12.2) 
     sassy-strings (>= 1.0.0) 
     singularitygs (>= 1.1.2) 
    yajl-ruby (1.2.0) 

PLATFORMS 
    ruby 

DEPENDENCIES 
    breakpoint 
    compass 
    compass-normalize 
    compass-rgbapng 
    compass-validator 
    css_parser 
    guard 
    guard-compass 
    guard-livereload 
    guard-shell 
    oily_png 
    rb-fchange 
    rb-fsevent 
    rb-inotify (~> 0.9) 
    sass 
    sass-globbing 
    singularitygs (~> 1.2) 
    toolkit 
    yajl-ruby 
+0

我希望每個人都報告他們這樣的問題。 – 2014-08-30 12:00:42

回答