Closed agius closed 8 years ago
Hmm, that is interesting. What happened in your case? It failed to find the assets? Would anything find the assets? It uses application-hashyhashy.css
instead of application.css
, but that file does not exist on disc and Rails does not serve it, right?
EDIT: If this is the case, I'm hesitant to even classify it under "Known issues" as this is not an issue of Roadie, but just a configuration error in the application. It might fit better under a "FAQ" like in the roadie project.
Yes, that's correct - neither Sprockets nor the filesystem would return a valid result for /application-digest1234.css
, so Roadie threw CssNotFound error. It would work if I precompiled assets, but I didn't want to have to do that for the test environment. If I set assets.compile = true
and assets.digest = false
, it fell back to the asset pipeline and worked correctly.
I'll accept this addition to the README if it's placed under a FAQ instead (see my comment above). It's not an issue with Roadie, but a potential issue with the app configuration (digest
in test
isn't really recommended anywhere). :-)
It's been a year. I'll close this for now.
If you still want to get this in, I'm more than happy to re-open this. :-)
Took forever to track down this issue with config.assets.digest, but it's a simple thing.