zaiste / foundation-icons-sass-rails

Foundation Font Icons on Sass for Rails
142 stars 18 forks source link

Broken in Rails 4 #19

Open drdevnull opened 8 years ago

drdevnull commented 8 years ago

Followed the instructions to the letter. Icons are not displayed - the assets are not in the pipeline.

victorsosa commented 8 years ago

try change application.css to application.css.scss

calderJamNet commented 8 years ago

@victorsosa I'm having the same problem and renaming application.css did not help. Is there anything we need do do after running bundle? No install command and no lines of code need to be added?

calderJamNet commented 8 years ago

@drdevnull did you ever solve the issue?

victorsosa commented 8 years ago

ok try to update the gem Ruby Sass to 3.4+; that issue was famous.

calderJamNet commented 8 years ago

@victorsosa do you mean sass-rails gem? thats at version 5.0.4

calderJamNet commented 8 years ago

or do you mean just the 'sass' gem? I don't have that in my gemfile because it wasn't listed in the documentation.

It is installed on my machine though. versions 3.4.21, 3.4.19

calderJamNet commented 8 years ago

@victorsosa I was able to get the icons to work (locally) by add @import 'foundation-icons'; to my application.css.scss file.

Is this something I should have done from the getgo? When reading the instructions you guys have posted it seemed to me that this was only necessary for those using a rails version < 4.

Thanks for your help.

victorsosa commented 8 years ago

yep sass-rails gem

victorsosa commented 8 years ago

OH I see, yep thats right. if you want to import any, you scss file need to use @import

calderJamNet commented 8 years ago

Ok cool! I went ahead and proposed a change to the readme that would make it a little easier to understand.

rodrigorichter commented 8 years ago

I did everything perfectly and the icons doesnt appear.

victorsosa commented 8 years ago

@rrrichter Are you using the right icon name?

rodrigorichter commented 8 years ago

Turno out I mistyped the icon tag on the html file, sigh

victorsosa commented 8 years ago

XD yea, it happened to me sometimes too.