Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks on Rails Sprockets 3.7.0 when installed via Bower #269

Open
btrscott opened this issue Sep 2, 2016 · 0 comments
Open

Breaks on Rails Sprockets 3.7.0 when installed via Bower #269

btrscott opened this issue Sep 2, 2016 · 0 comments

Comments

@btrscott
Copy link

btrscott commented Sep 2, 2016

Bower install adds bootstrap 3.0.0 to the components directory as a dependency of bootstrap-formhelpers#2.3.0. That version of bootstrap will kill the rails app with an encoding error even if bootstrap itself is not included in the rails application directly. Seems that sprockets will try to load bootstrap 3.0.0 and then die.

Solution is to upgrade the bower recipe.

Workaround is to install bootstrap via bower directly to get the latest version and ignore the bower dependency as defined by form helpers. Does mark formhelpers with an incompatible dependency (3.3.7 is incompatible with 3.3.0). Have not done enough testing to see how much breaks if any with 3.3.7

Project seems dead so I don't see it as being fixed but at least others can be warned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant