rails-assets icon indicating copy to clipboard operation
rails-assets copied to clipboard

How to handle assets conflict (bootstrap)

Open shir opened this issue 10 years ago • 34 comments

I use bootstrap-sass gem because I like to use variable and mixins form it:

gem 'bootstrap-sass'

I've installed bootstrap-multiselect library form rails-assets:

gem 'rails-assets-bootstrap-multiselect'`

But bootstrap-multiselect depends on rails-assets-bootstrap and it has been installed by dependency. Now, when I include bootstrap in my sass file

@import "bootstrap";

version from rails-assets-bootstrap gem is included which is not sass version and doesn't have any variables and mixins.

How can I handle this conflict and load bootstrap version from bootstrap-sass gem?

shir avatar Mar 31 '14 11:03 shir