hisea/devise-bootstrap-views

Not working properly if imported before devise-i18n

dankimio opened this issue · 2 comments

Bootstrap styles are not applied with the following Gemfile:

# Views
gem 'devise-bootstrap-views', '~> 1.0.0.alpha1'
# I18n
gem 'devise-i18n'

However, it works if the gem is listed after devise-i18n:

# I18n
gem 'devise-i18n'
# Views
gem 'devise-bootstrap-views', '~> 1.0.0.alpha1'

It seems that devise-i18n is overriding views from devise-bootstrap-views. It should be fixed somehow or mentioned in README.

rubocop want it be alphabetical order...
image

rubocop want it be alphabetical order...
image

I also has this issue. I'm not sure if there's any solution other than ignoring the OrderedGems rule for these lines or adding a comment above gem 'devise-bootstrap-views'