rails/sass-rails — Issue #67: Sass generation time in rails is much longer than on command line
Author: tmeasday
Created: 2011-10-18 06:29:57+00:00
State: open

My SASS is taking up to a few minutes on some machines to generate CSS files.

I've set up a new rails project with just the css files for reproduction:
https://github.com/tmeasday/sass_rails_slowness

On my machine, running:
time sass --compass app/assets/stylesheets/screen.css.scss > /dev/null
Takes ~6s

Changing a scss file and running:
time curl http://sass-rails-slowness.dev/assets/screen.css > /dev/null
Takes ~20s

I'm running ruby-1.9.2p290 through rbenv.

On my colleague's machine the times are 23s and 40s.

Any ideas?