I installed the bootstrap-sass Gem and tried to use some glyphicons but they're just not showing in the right way. Its looks like the browser is using replacements for the actual glyphicons but it doesn't give me any error message.
For most glyphicons I just get this one:
and for the pencil for example i get this ✏
. It looks like the browser can't find them but my stylesheets are getting loaded properly as far as I can tell. So is there maybe a problem in the gem that I have to fix?
My code looks like this:
application.css.scss
/*
*= require jquery-ui
*= require_tree .
*= require_self
*/
@import "bootstrap-sprockets";
@import 'bootstrap';
application.js
//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require bootstrap-sprockets
//= require moment
//= require jquery_nested_form
//= require turbolinks
//= require ckeditor/init
//= require_tree .
index.html.erb
<%= link_to booking_path(booking), :class => 'btn btn-xs', :title => "#{ t('.show', :default => t('helpers.links.show')) }" do %>
<%= glyph 'info-sign' %>
<%- end -%>
If you need any more information let me know please.
Edit1:
My code creates following html:
<a class="btn btn-xs" title="Show" href="/houses/1">
<span class="glyphicon glyphicon-info-sign"></span>
</a>