I have a stylesheet app/assets/website/base.scss
that starts with:
@import "bootstrap-select.min.css";
The bootstrap-select.min.css
file exists in the vendor/stylesheets/
folder. When I try to access it in production, I get a 404:
"NetworkError: 404 Not Found - http://mysite.herokuapp.com/assets/bootstrap-select.min.css"
(It works fine on my development rig though.)
Here's what I've tried so far:
Tried using
@import asset-path("bootstrap-select.min.css")
. Got a syntax error (apparentlyasset-path
doesn't work withimport
s).Tried adding
config.assets.precompile += %w(bootstrap-select.min.css)
toconfig/environments/production.rb
Any idea why this might be happening?
Rails 4.0.4 / Ruby 2.1.2