I added this line to my Gemfile, then done “bundle install”
gem ‘bootstrap-sass’, ‘2.3.2.0’
…but, I now want to install the latest version of bootstrap. How do I
uninstall these files, do I just go into the assets directory and
manually
delete them? Then, add the recent version to my Gemfile?
On Friday, January 31, 2014 2:51:45 PM UTC, Bizt wrote:
Btw if I replace the line:
gem ‘bootstrap-sass’, ‘2.3.2.0’
… with a newer version of BS, will it automatically remove this old one?
I’m a little new to using gems, not too sure yet how it all works.
That should work: when rails searches for assets it looks in app/assets,
lib/assets and vendor/assets in your app, but it also does the same with
gems. This means that gems like ones providing jquery, bootstrap etc.
don’t
need to copy their files into your app (and conversely, all you need to
do
is upgrade the gem to get the new versions)
Fred
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.