tors / jquery-fileupload-rails

jQuery File Upload integrated for Rails
669 stars 253 forks source link

ActionView::Template::Error: Invalid CSS after "screen": expected media query list, was "\" #98

Closed krisleech closed 5 years ago

krisleech commented 5 years ago

The above error happens at https://github.com/tors/jquery-fileupload-rails/blob/master/app/assets/stylesheets/jquery.fileupload.scss#L31

This line uses a hack to apply CSS only for IE < 8.

I would guess this is due to an update to SASS which has changed the parsing which disallows (either on purpose or by accident) this hack.

krisleech commented 5 years ago

This has already been reported to ruby-sass https://github.com/sass/ruby-sass/issues/96

krisleech commented 5 years ago

Until the fix is released you can do:

gem 'sass', git: 'https://github.com/sass/ruby-sass.git', branch: 'fix-specs'