Reputation: 15161
I'm using bootstrap-sass (3.3.1.0)
in my Rails project.
How can I know the twitter bootstrap itself's version?
I found this question, but there were no answer for Rails environment.
How to identify bootstrap version? - Stack Overflow
$ bundle exec gem which bootstrap-sass
/Users/ironsand/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.3.1.0/lib/bootstrap-sass.rb
$ cd /Users/ironsand/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/bootstrap-sass-3.3.1.0/
$ find . -name "*.css"
$ find . -name "_bootstrap.scss"
./assets/stylesheets/_bootstrap.scss
So I couldn't find bootstrap.css
in which there is version number.
Upvotes: 7
Views: 6634
Reputation: 2289
In most cases inside gems are same css as in original version. You can find path of where your gem installed using
gem which bootstrap-sass
Then just go to this folder, find css file and check top of css file
Upvotes: 6