#!/usr/bin/env ruby require "pathname" require "bundler" Bundler.require bin_file = Pathname.new(__FILE__).realpath # add self to libpath $:.unshift File.expand_path("../../lib", bin_file) require 'gush' begin Gush::CLI.start(ARGV) rescue Gush::WorkflowNotFound puts Paint["Workflow not found", :red] rescue Gush::DependencyLevelTooDeep puts Paint["Dependency level too deep. Perhaps you have a dependency cycle?", :red] end