-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Rails 4.1] Sprockets error shows undeclared dependency #20
Comments
Looks like this was fixed in the bootstrap-sass gem: Let's add a temporary fix to the rails_layout gem pending release of the next version of the bootstrap-sass gem. Otherwise I'll have to tell everyone to use the master version of the bootstrap-sass gem which means updating documentation everywhere, twice. |
Thank you for this workaround. This is what happens when I jump too excitedly into a new version of Rails :) |
You're looking for app/assets/stylesheets/framework_and_overrides.css.scss. The RailsApps tutorial has all the details: You can use the new release of the rails_layout gem to fix things. Do a
|
Ah, that makes much more sense. Thank you so much! On Thu, Apr 10, 2014 at 11:10 AM, Daniel Kehoe notifications@github.com
|
Thanks for the work around! |
@DanielKehoe Sorry, I believe this is a related question but... as of Rails 4.1, is the |
@mecampbellsoup Yes, that's right. |
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 rails/sprockets-rails#96
To resolve this, the rails_layout gem should update the framework_and_overrides.css.scss file to include:
See RailsApps/rails-bootstrap#17
The text was updated successfully, but these errors were encountered: