1

Im using the twitter-bootstrap-rails gem in my application.

I discovered that this gem uses the 2.3 twitter bootstrap version cause i have to use

class="span6"

not

class="col-md6"

when creating a grid.

How can I upgrade to bootstrap 3?

Jepzen
  • 2,942
  • 6
  • 40
  • 62

1 Answers1

0

https://github.com/seyhunak/twitter-bootstrap-rails#using-stylesheets-with-less shows you howto include your LESS file, include the LESS files of Twitter's Bootstrap 3 here?

You have to require Bootstrap LESS (bootstrap_and_overrides.css.less) in your application.css

/* *= require bootstrap_and_overrides */

/* Your stylesheets goes here... */ To use individual components from bootstrap, your bootstrap_and_overrides.less could look like this:

Bass Jobsen
  • 48,736
  • 16
  • 143
  • 224