Rake不能使用最新的Compass? "未初始化的常量Sass :: Script(NameError)"

时间:2014-05-05 22:49:12

标签: rake compass-sass octopress susy-compass

我已经玩Octopress几天了,今天想尝试最新的Susy v.2.1.2,这需要Compass v.1.0(1.0.0.alpha.19 atm),这需要Sass v.3.3,据我所知......除此之外,根据Susy changelog,Susy自动在Compass 1.0注册。

所以我修改了我的Gemfile:

source "https://rubygems.org"

group :development do
  gem 'rake', '~> 10.0'
  gem 'jekyll', '~> 0.12'
  gem 'rdiscount', '~> 2.0.7'
  gem 'pygments.rb', '~> 0.3.4'
  gem 'RedCloth', '~> 4.2.9'
  gem 'haml', '~> 3.1.7'
  gem 'compass', '1.0.0.alpha.19'
  gem 'sass', '~> 3.3'
  gem 'sass-globbing', '~> 1.0.0'
  gem 'rubypants', '~> 0.2.0'
  gem 'rb-fsevent', '~> 0.9'
  gem 'stringex', '~> 1.4.0'
  gem 'liquid', '~> 2.3.0'
  gem 'directory_watcher', '1.4.1'
end

gem 'sinatra', '~> 1.4.2'

所以我做了bundle install。但似乎rake generate rake preview根本不像新的指南针那样。获得大量这些:

/Library/Ruby/Gems/2.0.0/gems/compass-core-
    1.0.0.alpha.19/lib/compass/core/sass_extensions.rb:2:in `<top 
    (required)>': uninitialized constant Sass::Script (NameError)

指南针单独工作没有任何问题。虽然,我对Rake,Compass,Octopress很陌生,所以我错过了什么?

0 个答案:

没有答案