#!/usr/bin/env ruby #-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. #++ $:.unshift(File.dirname(__FILE__) + '/../lib/') require 'rubygems' require 'rubygems/gem_runner' required_version = Gem::Requirement.new ">= 1.8.6" unless required_version.satisfied_by? Gem.ruby_version then abort "Expected Ruby Version #{required_version}, is #{Gem.ruby_version}" end args = ARGV.clone begin Gem::GemRunner.new.run args rescue Gem::SystemExitException => e exit e.exit_code end