seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.5k stars 996 forks source link

Grids css problem #715

Closed b0uch3 closed 10 years ago

b0uch3 commented 10 years ago

I'm having a problem understanding what version this bootstrap is using. When I try and layout grids using "col-md-4", I realize that it doesn't work. Instead I have to use "span4".

How do I make sure I'm using the current version of bootstrap?

b0uch3 commented 10 years ago

I discovered the version that the twitter-bootstrap-rails gem installs is 2.3.2. How do I get it about Bootstrap 3?

simicic commented 10 years ago

same here

use the branch... and you will need special branch of less as well (if you are using it)

gem "less-rails", git: "git@github.com:CQQL/less-rails.git", branch: "less-2.5"
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git', :branch => 'bootstrap3'
b0uch3 commented 10 years ago

thank you. I will give that a try. I couldn't figure out how to force it to use the branch so instead I pulled it in locally and used the :file => parameter but that wasn't reliable.

simicic commented 10 years ago

:path => works ;)

b0uch3 commented 10 years ago

you've just saved me from banging my head on things. thank you very much. I couldn't find any reasonable solution for this, and the git doc page for 3.x.x doesn't mention anything on how to use the branch. That should definitely be added to the very top of the twitter-bootstrap-rails 3 documentation. :+1: