I work with really large projects that use the compass (tools for compass sprites, including) sass framework cli tool (compass watch, compass compile) to create the app.css file. The project sass uses several @import operators to include dozens in sass scores.
The problem is that the app.css file has been compiling for more than 2 minutes (the app.css file is 70,000 lines long) after every small change in any partial sass imported into the app.scss file that compiles them all at once, while I need only 1 line change.
I did extensive research and found articles like this http://blog.teamtreehouse.com/tale-front-end-sanity-beware-sass-import which suggests using spockets instead of @import to enable sass partials. I like the solution bigger than most, but a large refactor will be needed even to check whether it will work, and all global ones include, like mixins and variables, should be included in every part of sass used in the project, which is also not ideal.
After some more research, I found this tool https://github.com/petebrowne/sprockets-sass , which should automatically transform @imports into spockets, require instructions for the compiler, and also retain the ability to import globally.
The problem is that I do not know ruby ββand did not use anything related to ruby, and then the "gem install" operator)))
Can someone who knows ruby ββhelp me explaining step by step how to make a compass compiler using sprockets-sass?
PS Please do not offer solutions such as libsass, and I, as I tested it, excluding all things related to compass sprite and libsass also spend a lot of time to collect 40,000 lines that were left without sprites (I suspect that part of the problem is not in compilation speed, and in the temporary system you need to create 400,000 lines after.)