require 'rubygems' # Assume all necessary gems are in place if bundler is not installed. begin require 'bundler/setup' rescue LoadError => e raise e unless e.message =~ /no such file to load -- bundler/ end $:.unshift "#{File.dirname(__FILE__)}/lib" require "casserver" use Rack::ShowExceptions use Rack::Runtime use Rack::CommonLogger run CASServer::Server.new