#!/usr/bin/env ruby require 'rubygems' unless defined? Gem if File.exist?(asciidoctor = (File.expand_path '../../lib/asciidoctor', __FILE__)) require asciidoctor else require 'asciidoctor' end require 'asciidoctor/cli' invoker = Asciidoctor::Cli::Invoker.new ARGV GC.start invoker.invoke! exit invoker.code