Sha256: fd295d96c8c955c553609ced6ad8584b08fc28ffc519aea1239010e1aed40652
Contents?: true
Size: 538 Bytes
Versions: 13
Compression:
Stored size: 538 Bytes
Contents
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby $:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib') require 'loris' begin # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn. failure = Loris::CLI::Main.execute(ARGV.dup) Kernel.exit(failure ? 1 : 0) rescue SystemExit => e Kernel.exit(e.status) rescue Exception => e STDERR.puts("#{e.message} (#{e.class})") STDERR.puts(e.backtrace.join("\n")) Kernel.exit 1 end
Version data entries
13 entries across 13 versions & 2 rubygems