0
我試圖設置sass源地圖,因此我可以編輯chrom開發工具中的scss,以編輯spree的spree_fancy主題sass。Spree_fancy sass源地圖問題軌道
我可以得到源地圖工作的一個普通網站的工作,但是當我試圖建立同樣的方法使用大禮包看中擴展我收到以下錯誤,當我開始在軌服務器
[email protected]:~/fancy$ rails s
/home/mspree/.rvm/gems/ruby-2.1.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require': cannot load such file -- sass/script/node (LoadError)
from /home/mspree/.rvm/gems/ruby-2.1.0/gems/polyglot-0.3.3/lib/polyglot.rb:63:in `require'
的Gemfile是
source 'https://rubygems.org'
gem 'rails', '4.0.1'
gem 'sqlite3'
gem 'sass-rails', github: "rails/sass-rails"
gem 'sass', git: 'https://github.com/nex3/sass.git'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
group :doc do
gem 'sdoc', require: false
end
group :development do
gem 'coffee-rails-source-maps'
gem 'sass-rails-source-maps'
end
gem 'spree', '2.1.4'
gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-1-stable'
gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-1-stable'
gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-1-stable
我只要我註釋掉spree_fancy寶石鐵軌服務器啓動時確定,但預期該網站不會加載,因爲它無法找到spree_fancy東西我註釋掉。
任何想法?
您可能會發現此解決方案有用:http://stackoverflow.com/questions/16877028/why-does-compass-watch-say-it-cannot-load-sass-script-node-loaderror – gmacdougall