问题
I am getting error while doing bundle exec rake assets:precompile
Here's complete error I am getting on terminal while I hit the above command.
Here's my variables.less code snippet
@fa-font-path: "assets/font-awesome/fonts";
@fa-css-prefix: "fa";
@fa-version: "4.2.0";
@fa-border-color: #eee;
@fa-inverse: #fff;
@fa-li-width: (30em / 14);
Here's my font-awesome.css snippet
@font-face {
font-family: 'FontAwesome';
src: url('../fonts/fontawesome-webfont.eot?v=4.2.0');
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff? v=4.2.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Not able to figure out the issue on this. Can someone please help me here.
Thanks
来源:https://stackoverflow.com/questions/30885509/bundle-exec-rake-assetsprecompile-throws-font-awesome-related-issue