#!/usr/bin/env ruby require 'fileutils' if ENV["HOBODEV"] dev_root = File.expand_path ENV["HOBODEV"], FileUtils.pwd $:.unshift "#{dev_root}/hobo_support/lib" else require 'rubygems' end begin require 'hobo_support/command' rescue LoadError puts "The 'hobo_support' gem is not installed. You probably need to set the HOBODEV environment variable to the local repository path." exit end HoboSupport::Command.run(:hobofields)