namespace :interlock do desc "Watch the Rails log for Interlock-specific messages" task :tail do Dir.chdir RAILS_ROOT do exec("tail -f log/#{RAILS_ENV}.log | grep interlock") end end end