Skip to content

Instantly share code, notes, and snippets.

@olivierlacan
Created September 1, 2011 15:05
Show Gist options
  • Save olivierlacan/1186356 to your computer and use it in GitHub Desktop.
Save olivierlacan/1186356 to your computer and use it in GitHub Desktop.
My _colors partial seemed to be the one causing compile errors, I first commented out the big mixin inside of _buttons to see if it was causing the issues, without success. I then removed all @imports of _buttons & _colors, which only reduced compile time to 10 seconds
After disabling inclusion of my _colors partial & _buttons partials.
My app, subsequent run, webrick:
Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-01 09:33:56 -0400
Compiled pages.css (232ms) (pid 71666)
Compiled style.css (8404ms) (pid 71666)
Compiled users.css (1889ms) (pid 71666)
Compiled application.css (18ms) (pid 71666)
Served asset /application.css - 200 OK (10591ms)
There were no compile errors here, but the compile time still seems very long.
Initial run after bootup, webrick:
Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-01 09:35:14 -0400
Served asset /application.css - 200 OK (47ms)
Second run, webrick:
Started GET "/assets/application.css" for 127.0.0.1 at 2011-09-01 09:35:51 -0400
Compiled pages.css (319ms) (pid 83006)
Compiled application.css (19ms) (pid 83006)
Served asset /application.css - 200 OK (434ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment