resolve/refinerycms — pull request #1615 by f3ng3r (2012-04-23 17:25:43+00:00)
Title: Page cache sweeper not working

I experienced that `page_cache_directory = Pathname.new(page_cache_directory.to_s)` returned an empty Pathname instance, probably because the `page_cache_directory` variable had the same name as the Rails setting.

Because of this it was unable to delete the right folder `.../public/refinery/cache/pages`.

Changing `page_cache_directory` to `page_cache_directory_path` fixed that for me.