Skip to content

Instantly share code, notes, and snippets.

@fauxparse
Created January 27, 2009 10:38
Show Gist options
  • Save fauxparse/53279 to your computer and use it in GitHub Desktop.
Save fauxparse/53279 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Clean up the stale cached files from a theme
rake themes:uncache
# Restart the server: necessary to reload classes etc in production mode
touch tmp/restart.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment