config.ru 260 B

12345678910111213
  1. require 'rubygems'
  2. require 'bundler/setup'
  3. $:.unshift "#{File.dirname(__FILE__)}/lib"
  4. require "casserver"
  5. use Rack::ShowExceptions
  6. use Rack::Runtime
  7. use Rack::CommonLogger
  8. use ActiveRecord::ConnectionAdapters::ConnectionManagement
  9. run CASServer::Server.new