I have a stylesheet app/assets/website/base.scss that starts with:
@import "bootstrap-select.min.css";
The bootstrap-select.min.css exists in the vendor/stylesheets/ folder. When I try to access it during production, I get 404:
"NetworkError: 404 Not Found - http://mysite.herokuapp.com/assets/bootstrap-select.min.css "
(It works great on my development platform.)
Here is what I have tried so far:
Tried to use @import asset-path("bootstrap-select.min.css") . Got a syntax error (apparently asset-path does not work with import s).
I tried adding config.assets.precompile += %w(bootstrap-select.min.css) to config/environments/production.rb
Any idea why this could be happening?
Rails 4.0.4 / Ruby 2.1.2
source share