#!/usr/bin/env ruby require 'rubygems' require 'gaptool-api' # Make sure lang isn't fucked ENV['LANG'] = "en_US.UTF-8" # Nuke your ssh-agent ENV['SSH_AUTH_SOCK'] = '' OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE unless ENV['GT_SSL_VERIFY_NONE'].nil? # Make API accessable to client $api = GTAPI::GaptoolServer.new(ENV['GT_USER'], ENV['GT_KEY'], ENV['GT_URL'], ENV['GT_AWS_ZONE']) # Run client require File.expand_path(File.dirname(__FILE__) + "/../lib/gaptool-client.rb")