#!/usr/bin/env ruby require File.expand_path("#{File.dirname(__FILE__)}/../require") Require.bin! PeriodicCounter.new( ENV['RACK_ENV'] || ENV['RAILS_ENV'] || 'development', Dir.pwd )