first time working with gem / ruby files. need a little help here.
We basically have an asp.net application that uses SASS + COMPASS.
To determine the css file size limit, we wanted to use the css_splitter script (css_splitter.rake and css_splitter.rb): https://gist.github.com/1131536
Basically, after compiling the compass, the splitter should insert and split the generated css file into 2 or more.
What am I tired of:
- The sass configuration file is located under: D: \ myapp \ mainsite \ sass \ config.rb
- I put css_splitter.rake and css_splitter.rb in the folder above.
- modify config.rb refer to "css_splitter.rb" as follows:
require 'susy'
require 'css_splitter'
http_path = "/"
css_dir = "../stylesheets"
sass_dir = ""
images_dir = "../img"
javascripts_dir = "../Scripts"
sass_options = {:full_exception => true }
output_style = :compressed
line_comments = false
on_stylesheet_saved do |path|
CssSplitter.split(path) unless path[/\d+$/]
end
, : LoadError 36 D: - css_splitter
, D:\myapp\sass\ruby \ lib\ruby \ site_ruby\1.8, css_splitter.rake css_splitter.rb , .
- ? .