zaiste / foundation-icons-sass-rails

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

Support for Rails 4 #2

Closed jasontorres closed 11 years ago

jasontorres commented 11 years ago

Rails 4 doesn't precompile assets from vendor/ and lib/ anymore so moving the assets to app/assets should work.

The change should be backwards compatible since Rails 3 reads from app/assets as well.

stevenyxu commented 11 years ago

+1. I can confirm this fix worked fine for me.

siong1987 commented 11 years ago

+1 for this. It works for me.

amir20 commented 11 years ago

Can this be merged?

zaiste commented 11 years ago

I'll merge this when Rails 4 stable comes out.

amir20 commented 11 years ago

Rails 4 released!

siong1987 commented 11 years ago

:+1:

RasmusKrads commented 11 years ago

Somehow still not working for me in Rails 4? I am using the gem v. 2.0.0, and it's working as usual in dev. Is there anything else I should do? All fonts trigger this on Heroku log: ActionController::RoutingError (No route matches [GET] "/assets/social_foundicons-1be4cb7c8d3528c699956338f7cf7727.svg"):

introvert commented 11 years ago

I'm having the same issue. I'm using the latest version of gem and Rails cannot seem to find the icons / fonts and other files. I don't get any error, it just happens that nothing is included anywhere. Any idea what could be the issue?

paladini commented 10 years ago

Same issue here, anyone find a good solution for this problem?

Rails don't show any errors, but the page don't show the icon :/