#!/usr/bin/env ruby require 'rubygems' require 'bundler/setup' require 'tay' Bundler.require if File.exists?('Gemfile') begin require 'tay/cli' Tay::CLI::Root.start rescue Interrupt => e puts "\nQuitting..." exit 1 rescue SystemExit => e exit e.status end