How to reset Phusion passenger Ruby on Rails cache?

How can I delete the cache of my webapp rails?

I'm going to CRAZY!

+3
source share
2 answers

Running a passenger with nginx, this was the only solution that worked for me. On the server, run:

    passenger-config restart-app

See: https://www.phusionpassenger.com/library/admin/nginx/restart_app.html

+2
source

Try it? Rails.cache.clear

Perhaps you are using some other cache storage if it rake tmp:cache:cleardoesnโ€™t do this because it is not cached on the file system.

+1
source

All Articles