rails/rails — pull request #3801 by scottvrosenthal (2011-11-29 19:15:11+00:00)
Title: added rake task log:tail

Found myself typing tail -f -n100 log/development.log and thought it could be a useful rake task for any rails project.

Depends on Rails.root & Rails.env to locate and tail the rails env log file.

Example:

rake log:tail
rake log:tail[20] => override default lines displayed