Skip to content
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

Incompatible with sass 3.2? #111

Closed
fschwahn opened this issue Aug 13, 2012 · 6 comments
Closed

Incompatible with sass 3.2? #111

fschwahn opened this issue Aug 13, 2012 · 6 comments

Comments

@fschwahn
Copy link

Hi,
I just updated rails in an application to 3.2.8, and in the process sass was updated to version 3.2.0. With the update I received the not very explanatory message 'EOFError - end of file reached' when accessing any page which compiles SCSS-files.
I tracked the problems down to bourbon-mixins, but I'm not sure how to fix them. The sass-changelog mentions some incompatibilities (http://sass-lang.com/docs/yardoc/file.SASS_CHANGELOG.html), but after a very quick look over the source I didn't find them applicable to the mixins I was using (in this case border-radius).

I'm using using bourbon (2.1.1). I was able to temporarily fix the problem by adding the following to my Gemfile:

gem 'sass', '~> 3.1.0'

If you need any more information I will provide it happily. Thank you!
Fabian

@thomasklemm
Copy link

Hey Fabian,

you saved me a lot of time here, thanks for reporting this. Out of curiosity, how did you find out the exact spot where your sass code breaks, because I only see a very general debug message?

I use sass 3.2.0.alpha244 to work with the latest Foundation from Zurb and it works fine as well.

# Gemfile
gem 'sass', '3.2.0.alpha244'

Thomas

@fschwahn
Copy link
Author

Well, I knew which file was causing the error, so I started commenting out parts until I could track it down to bourbon. Just plain old trial and error.

@plapier
Copy link

plapier commented Aug 14, 2012

I was unable to reproduce on a new rails 3.2.8 app using sass 3.2.0 and sass-rails 3.2.5.

Do you experience the error when using any other bourbon mixins? Is it isolated to just border-radius?

Are you using any other gems that compile scss? Like compass or bootstrap-rails?

@fschwahn
Copy link
Author

Sorry, this has nothing to do with bourbon, but is a problem with sass. It happens whenever @include is used. Sorry for the premature bug report, the related issue is here: sass/sass#482 .

If you still want to reproduce, it only happens when you use pow as the webserver.

Best regards,
Fabian

@thomasklemm
Copy link

Same setup here, so that only sass releases before the final 3.2.0 seem to be working with pow. Thanks for referencing the sass issue report.

@elliottregan
Copy link

A little more info, if anyone is still wondering when we can update (I still am):

http://www.solitr.com/blog/2014/01/state-of-libsass/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants