Railsでbootstrap使うときはgemを使ってやっちゃうと楽なんだけど、そもそもそういうgemが多すぎてわけわからないということがある。とりあえず僕はこれを使っている。READMEが短かったから。 benjamincanac/bootstrap3-rails 使い方はREADMEにある通りapplication.jsとapplication.cssにrequire文を加えればいいだけなのでややこしいことはなにもない。 ところで毎回bootstrapでつまづくこととしてアイコンフォントが表示されないっていう問題がある。特にRailsだとAsset Pipelineとかが絡んできてややこしい。このgemを使うようになってからも同じことを2回も調べたからここにメモしておくことにする。 まず、fontファイルをアプリケーションディレクトリ以下に置いてしまうことにする。bundle inst