rails4 bootstrap3 で Glyphicons が 表示されない際の対応
rails4 の bootstrap3 の Glyphicons を使用すると production 環境で 404 not found となり表示できない場合の対応。
Glyphicons の *ett, *svg, *ttf, *woff が assets.precompile の対象外となっていることで not found となるようなので、
config/application.rb で以下の設定を追加すると precompile されるようになり表示できます。
#config/application.rb module ProjectName class Application < Rails::Application # vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.* を precompile の対象に含める config.assets.precompile += %w(*.eot *.svg *.ttf *.woff) end end