I have a log file that is constantly growing. How can I watch and parse it via a Ruby script?
The script will parse each new line as it is written to the file and ou
If you're on Linux...
tail -f log/development.log | grep "ERROR"
Unless you really wanted it to be a Ruby script for some reason.