#!/usr/bin/env ruby require 'fileutils' pids = IO.readlines(File.dirname(__FILE__)+"/../log/merb.pid").map{|p| p.to_i} pids.each do |pid| puts "killing PID: #{pid}" Process.kill(9, pid) end FileUtils.rm File.dirname(__FILE__)+"/../log/merb.pid"