When using Bootstrap with Rails 4.1.0, when visiting any page of the rails-bootstrap example app, I get this error:
Sprockets::Rails::Helper::DependencyError at /
Asset depends on 'bootstrap/glyphicons-halflings-regular.eot' to generate properly but has not declared the dependency
Please add: `//= depend_on_asset "bootstrap/glyphicons-halflings-regular.eot"` to '/Users/danielkehoe/workspace/wip/rails-devise-pundit/app/assets/stylesheets/framework_and_overrides.css.scss'
This is because sanity checks from the sprockets_better_errors gem have been merged into Rails 4.1. The intent is to reveal asset pipeline errors that you would see in production when you run the app in development mode. See https://github.com/rails/sprockets-rails/pull/96
To resolve this, the rails_layout gem should update the framework_and_overrides.css.scss file to include:
When using Bootstrap with Rails 4.1.0, when visiting any page of the rails-bootstrap example app, I get this error:
This is because sanity checks from the sprockets_better_errors gem have been merged into Rails 4.1. The intent is to reveal asset pipeline errors that you would see in production when you run the app in development mode. See https://github.com/rails/sprockets-rails/pull/96
To resolve this, the rails_layout gem should update the framework_and_overrides.css.scss file to include: