New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCSS compilation is very slow with jruby #90
Comments
There is a problem that has been happening with sass versions of bootstrap that use compass, but it seems to be a compass/sass + rails pipeline issue and there currently doesn't appear to be any good solutions outside of not using the asset pipeline for sass. Keeping your sass very simple seems to help as well. |
Thanks lucisferre. I am not using compass for my project, does this gem wrap a compass to do the convertion? And it's also hard to make the sass simple...err...once I |
It isn't anything to do with compass specifically. It's just the sass version of bootstrap. Though people have reported problems with any reasonably complex sass structure with a decent number of files. |
The fix to sass/sass#337 actually fixes this completely for me. Just found it. You'll need to use the master branch in your Gemfile.
|
Thanks @LucisFerre, I just tested it. It's now ~2.5 sec. Although it's not as good as mri, but still a big improvment. |
This should be fixed with a combination of sass/master (will be in the 3.2 release) and 37563aa. Cheers! |
Thanks :D |
I use jruby-1.6.7 with rails3.2, under jruby, scss compilation gets very slow..it takes like 10 seconds to refresh a page if I've done some changes to any scss files, following is the compilation time from development.log:
with jruby:
with MRI:
I had a talk with a guy from jruby irc channel, he said he also has tons of scss in his rails project and the performance is pretty well, and I also tested with a fresh rails project, and it's also pretty good.
The text was updated successfully, but these errors were encountered: