#!/usr/bin/env ruby require 'rubygems' ENV['LANG'] ||= 'en_US.UTF-8' OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE \ unless ENV['GT_SSL_VERIFY_NONE'].nil? # Make API accessable to client %w(GT_USER GT_KEY GT_URL).each do |k| abort("Missing environment variable #{k}") if ENV[k].nil? end # Run client require File.realpath(File.join(File.dirname(__FILE__), '..', 'lib', 'gaptool_client.rb'))