Variables names @gridGutterWidth and @grid-gutter-width. Name conflict
ashrocket opened this issue · 2 comments
Using less-rails-bootstrap (3.0.0.1)
The Varibles.less file in app/frameworks/twitter/bootstrap contains
the following vars for Grid Definition:
// Number of columns in the grid system
@grid-columns: 12;
// Padding, to be divided by two and applied to the left and right of all columns
@grid-gutter-width: 30px;
// Point at which the navbar stops collapsing
@grid-float-breakpoint: @screen-tablet;
But the layouts.less file looks for @gridGutterWidth
There are several other examples of missing variable names, and they seem to be related to a mixup of versions of variables.less. When and why did the var names change?
So I reverted the gem to 2.3.3 Which seems to fix the problem (I looked and that's where the name change began in order match the names in Bootstrap 3.0). However, it's worth pointing out that the 3.0 Gem isn't self consistent, so if you wanted to use the Full Control model with the 3.+ gem, you'll end up with naming conflicts.
Closing with fix from #86.