The release version of Rails 3.1 is having some weird issues with precompiling a sass manifest file with the extension scss
. The weird thing is that the default manifest file application.scss
compiles fine and I see it under public/assets/
.
However when I try to compile my custom manifest files, nothing is created. I have enabled the precompile option in the production config.
config.assets.precompile += %w( user.scss admin.scss )
I am running the precompile rake task correctly as far a I know.
rake assets:precompile RAILS_ENV=production
And maybe this helps. When I create two new manifest files with the extension css instead of scss and require the original scss files in them, then these new manifest files are honored and properly compiled. Why does application.scss
get this special treatment and not other sass manifest files?