-
-
Notifications
You must be signed in to change notification settings - Fork 993
HOWTO: Build assets with new Twitter Bootstrap version
kugaevsky edited this page Sep 24, 2012
·
2 revisions
This article was written to help you fix problems with twitter-bootstrap-gem after bumping original twitter-bootstrap version.
So, if you updated gem and encounter issues with
- glyphicons styles
- old bootstrap version of javascript or css files
- improper javascript calls
tips below may help you.
- Remove old versions of
twitter-bootstrap-railsgem
$ gem cleanup twitter-bootstrap-rails- Increase assets version in
config/application.rbfile
# Version of your assets, change this if you want to expire all your assets
config.assets.version = '1.1' # <--- Bump it up!- Regenerate twitter-bootstrap-rails default files
$ rails generate bootstrap:installNB! Be careful! This could overwrite changes you have made to bootstrap_and_overrides and other bootstrap files. Always check diff before doing this.
Open an issue if these tips didn't help you.