-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
rails 4.2 Invalid CSS !global #6148
Comments
I have the same error when use foudation-rails 5.5.0.0 |
Me too. Following. |
Same error, following. |
Try this. My problem solved with this gem 'foundation-rails', '5.4.3.1' then run bundle update This should do it for now tell they fix it :) |
@jakzaizzat as I posted earlier, you can also use |
|
@jakzaizzat & @chrishough cheers for the fix (Y) |
Thanks @gakimball Adding gem 'sass-rails', '~> 5.0.0' works like a charm |
I have the gems "sass-rails", "5.0.0" "foundation-rails", "5.4.5" and "sass", "3.4.9" and i still get the same error I cant figure out where the problem is. Please help! |
Foundation 5.4.5 isn't compatible with the newest version of Sass, but 5.5 is. |
Rails 4.1.9 Worked for me |
Rails 4.1.8 Did not work for me However Rails 4.1.9 Did Thanks @hayduke19us ! |
Ok this worked for me Rails 4.1.9 And do not forget to run 'bundle update' in order to update your sass version it has to be 3.3.x or higher in order to run foundation 5.x |
I can confirm that |
I have it working now with, Rails 4.2.0 |
Hmmm, struggling with upgrading:
|
ditto @jakzaizzat |
@JonKernPA worked fine |
thanks everyone, downgrading foundation was key for me |
I'm getting this error as well. Is there any change it will be fixed soon without having to downgrade? |
@DaniG2k It has been fixed, you just need to use Sass 3.4+ in your asset pipeline. If you can't do that because other libraries require a lower version, use Foundation 5.4.7 instead. 5.5 is the point where we deprecated Sass 3.3 and lower. |
@gakimball Great! Thanks. Sorry I didn't catch that in the thread 😖 |
I'm unable to resolve this error with: gem 'sass-rails', ' I do not plan on downgrading, because I upgraded with intention of getting rid of some old Foundation errors. What to do? |
Had the same issue but on rails 4.1.1, was using older version of sass-rails, below worked: gem 'sass-rails', ' @introvert check your sass version |
I ran into this with my Grunt workflow and |
Thanks guys, downgrading foundation-rails helped! |
Same error, following. |
1 similar comment
Same error, following. |
@takayuki905 @Bastes This issue has already been resolved, just make sure you're using the newest Sass compiler in your Rails project. |
@bakimball Ah, finally found what prevented my upgrade, now everything's fine and up to date. Thanks. |
Upgrading sass-rails to 5.0.1 worked for me. |
worked for me |
It looks like the !global issue came back with the launch of rails 4.2 tonight.
Error Details:
The only thing I could do to get around this was to downgrade my gem to
gem 'foundation-rails', '5.4.5'
Can anyone point me in the right direction? Thanks and Merry XMAS.
The text was updated successfully, but these errors were encountered: