#!/usr/bin/env ruby require 'reap/application' HELP = <<-END Usage: #{File.basename($0)} [options] Load each script independently to ensure there are no require dependency issues. This takes one option: scripts ruby files to check Scripts is a glob of files or a list of globs. By default this is all scripts in the libpath(s). WARNING! You should only run this on scripts that have no toplevel side-effects!!! END if ARGV.include?('--help') puts HELP else app = Reap::Application.new app.check_load end