bokmann / font-awesome-rails

the font-awesome font bundled as an asset for the rails asset pipeline
http://fortawesome.github.com/Font-Awesome/
MIT License
1.86k stars 244 forks source link

Add Less support #79

Closed adilsoncarvalho closed 10 years ago

adilsoncarvalho commented 10 years ago

This gem is the more up-to-date one. It would be great if we could use @import on less.

rmm5t commented 10 years ago

@adilsoncarvalho Are you saying that the README update you tried to add in #78 does not work?

Everything in font-awesome-rails is just part of the asset pipeline. I'm not a fan of Less, but assuming you've got everything lined up to work with the asset pipeline, your import should work. See less-rails.

adilsoncarvalho commented 10 years ago

It worked on development, but not on production.

On production it cant find the font-awessome.css

Cordialmente,

Adilson Carvalho


Ambiente para dev ruby (até em windows) ~~> http://bit.ly/1a38307

On Mon, Jan 27, 2014 at 2:19 PM, Ryan McGeary notifications@github.comwrote:

@adilsoncarvalho https://github.com/adilsoncarvalho Are you saying that the README update you tried to add in #78https://github.com/bokmann/font-awesome-rails/pull/78does not work?

Everything in font-awesome-rails is just part of the asset pipeline. I'm not a fan of Less, but assuming you've got everything lined up to work with the asset pipeline, your import should work. See less-railshttps://github.com/metaskills/less-rails .

— Reply to this email directly or view it on GitHubhttps://github.com/bokmann/font-awesome-rails/issues/79#issuecomment-33381910 .

adilsoncarvalho commented 10 years ago

Found that Twitter has an official SASS Bootstrap gem. The best of two worlds: SASS and access to all Bootstrap variables and mixins.

https://github.com/twbs/bootstrap-sass

rmm5t commented 10 years ago

@adilsoncarvalho bootstrap-sass is my favorite gem too. Glad you got things working.