rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
542 stars 96 forks source link

Weird 404s tied to particular filenames? #39

Closed nanodeath closed 11 years ago

nanodeath commented 12 years ago

I've encountered a strange issue on two separate occasions... I have an assets rule that looks like

      css :theme, [
        '/css/theme/style.css',
        '/css/theme/typography.css',
        '/css/theme/prettyphoto.css',
        '/css/theme/import-skin.css'
      ]

However, typography.css doesn't actually work. When loading the CSS on the dev server, I get a browser 404 (not a Sinatra 404). Changing the filename to typo.css "fixed" the issue.

In another case, I had a main.css file that was working fine, but I then renamed to main.scss and was getting the aforementioned 404 error. Renaming to main2.scss "fixed" the issue here, too.

It's bizarre, and I'm not getting any stacktraces or anything in the terminal. Thoughts? It's a pretty obnoxious issue...

j15e commented 11 years ago

Outdate issue, was this fixed with new releases? I can't see to which bugfix it could be related but maybe it was fixed.