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
Merge pull request #165 from MQuy/patch-2

Should use config path tmp for cache path