rstacruz/sinatra-assetpack — Issue #39: Weird 404s tied to particular filenames?
Author: nanodeath
Created: 2012-02-06 02:52:40+00:00
State: open

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

```ruby
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...