Skip to content

Sass generation time in rails is much longer than on command line #67

@tmeasday

Description

@tmeasday

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions