Should use config path tmp for cache path

We have option `config.paths['tmp']` in rails. Therefore i think we should make it can be editable