fortawesome / font-awesome-less Goto Github PK
View Code? Open in Web Editor NEWFont-Awesome LESS gem for use in Ruby on Rails projects
License: MIT License
Font-Awesome LESS gem for use in Ruby on Rails projects
License: MIT License
Hi,
The font is not loaded properly. Things I did:
therubyracer
and font-awesome-less
to Gemfile
bundle
*= require font-awesome
to the comment block in application.css
welcome/index
action using generator<i class="fa fa-fw">Thing</i>
font-url
, Chrome did it once too.Am I only using it wrong or is something fishy about it?
Is fontawesome-less going to incorporate the changes in http://stackoverflow.com/questions/14366158/font-awesome-not-working-in-chrome so that we don't get empty boxes in Chrome for windows?
Cheers
-=Tucker
I'm getting this error because the gemspec specifies 2.4.0 ...
Bundler could not find compatible versions for gem "less":
In snapshot (Gemfile.lock):
less (2.6.0)
In Gemfile:
font-awesome-less (~> 4.2.0) ruby depends on
less (~> 2.4.0) ruby
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
... I think it should a bit more relaxed to require a minimum but allow any future updates? Thoughts?
Ps: Was trying to install v4.2.0
This started randomly.
gem 'font-awesome-less', '~> 4.2.0'
@import 'font-awesome';
I added gem 'font-awesome-less', '~> 4.2.0' to my gemfile and ran bundle but when I then run rails s I get the following error
bin/rails:6: warning: already initialized constant APP_PATH /Users/damien/Projects/MM/bin/rails:6: warning: previous definition of APP_PATH was here Usage: rails COMMAND [ARGS]
I am using rails 4.0.3
Hello,
I have installed the font awesome gem and used :<% icon('flag') %> in my appliation.html.erb file but i am not getting anything displayed
I know this is a known issue, but I haven't been able to fix it in a project with rails 4.1.5
and font-awesome-less 4.6.2
.
It only happens in production mode and the problem is that the font-face part references
http://..../assets/font-awesome/fontawesome-webfont.woff2?v=4.6.2
which does not exists, because the precompile process creates a hash in that name file. I've another project with rails 4.2.x
and sass and it doesn't happen.
Any help will be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.