1
In my Rails applications I usually include Bootstrap manually in the folders:
app/assets/stylesheets/lib
(CSS) andapp/assets/javascripts/lib
(Javascript)
Everything works perfectly with the exception of Glyphicons.
I put the source files in the folder app/assets/fonts
but it does not recognize. HTML <span class="glyphicon glyphicon-search"></span>
generates the following symbol:
Below the Firefox console print:
Here is the section that contains the Urls (unchanged):
@font-face {
font-family: 'Glyphicons Halflings';
src: url('../fonts/glyphicons-halflings-regular.eot');
src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}
Now I got it: I put the fonts and pointed to the folder
public
instead of the folderapp/assets
.– user7261