#!/usr/bin/env ruby # This allows restoready_theme to run easily from a git checkout without install. # Hat tip to chriseppstein of Compass fame for the code for this def fallback_load_path(path) retried = false begin yield rescue LoadError unless retried $: << path retried = true retry end raise end end fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do require 'restoready_theme' end RestoreadyTheme::Cli.start(ARGV)