Skip to content

Instantly share code, notes, and snippets.

@joefiorini
Created September 8, 2008 19:22
Show Gist options
  • Save joefiorini/9511 to your computer and use it in GitHub Desktop.
Save joefiorini/9511 to your computer and use it in GitHub Desktop.
A simple script to restart passenger sites; quicker than typing touch tmp/restart.txt
#!/usr/bin/env ruby
require File.dirname(__FILE__) + '/../config/boot'
`touch #{RAILS_ROOT}/tmp/restart.txt`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment