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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With