I suspect the issue is caused by either the presence of a dot in the path/cache file name or by the fact that the name of the cache file without it's extension is identical to that of the directory.
I'm strapped for time, so or now I'm going to disable caching for the path that's causing errors in my application. However, I am happy to help hunt down any other information needed to verify that this is a bug or find any underlying issues.
I'm running into errors on a production environment with Sinatra Cache that occur when it attempts to write cache file under the following conditions:
.cache
as the cache file extension/user/bh_moving.com
./tmp/cache/user/bh_moving.com/
bh_moving.com/
contains a single file:index.cache
./tmp/cache/user/bh_moving.com
This all results in the following error message:
The stacktrace:
I suspect the issue is caused by either the presence of a dot in the path/cache file name or by the fact that the name of the cache file without it's extension is identical to that of the directory.
I'm strapped for time, so or now I'm going to disable caching for the path that's causing errors in my application. However, I am happy to help hunt down any other information needed to verify that this is a bug or find any underlying issues.
Thanks in advance for any assistance offered.