ruby on rails 4 - Using two different versions of Gems -


For Railway 4 apps, I want to use a different version of the Bootstrap-SAS gem (I have two different layouts, one is Bootstrap 2.3 and the other is Bootstrap 3.)

The only way I think custom groups are made on gemfile, and a specific gem is required on specific controller tasks. Is this possible?

No, this is not possible. You either need different gem-definitions or use gem for one part and just include bootstrap css and javascript in your application directly. You can even include both directly which I think is a priority in this situation because I think it is less confusing. On saying this, I think you should spend time getting rid of one of the bootstrap versions instead.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -