This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Rotate rails logs with more flexibility than system logrotate | |
# requires logrotate gem and written for use with passenger | |
# can easily be adapted to mongrel | |
require 'fileutils' | |
require 'rubygems' | |
require 'logrotate' | |
NewerOlder