#!/usr/bin/env ruby

Dir.chdir(File.dirname(__FILE__)+'/..')

# Start the app with Tennpipes::Server require 'bundler/setup' require 'tennpipes-base/cli/launcher'

ARGV.unshift('start') if ARGV.first.nil? || ARGV.first.start_with?('-') Tennpipes::Cli::Launcher.start ARGV

# Start the app with Rack::Server require “rack” #Rack::Server.start