Ruby on Rails Friday, January 31, 2014

On Friday, January 31, 2014 2:51:45 PM UTC, Bizt wrote:
Yeh I tried that. I don't seem to have any BS files in assets yet it will still applying BS styles.

Actually, I had the line in a custom.css.sass file:

@import "bootstrap";

I'll remove this line, update the Gemfile and reinstall?

Btw if I replace the line:

gem 'bootstrap-sass', ''

.. 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)


You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment