Sha256: 92d357014fb2c0f0f03bc6f0ed7b03d61521b0dd372675e7d090d428a1028e08

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

require 'rubygems'
require 'rack'

$APP_NAME = 'rubycas-server'
$APP_ROOT = File.dirname(File.expand_path(__FILE__))

if File.exists?("#{$APP_ROOT}/tmp/debug.txt")
  require 'ruby-debug'
  Debugger.wait_connection = true
  Debugger.start_remote
end

$: << $APP_ROOT + "/lib"

require 'casserver/load_picnic'
require 'picnic'
require 'casserver'

CASServer.create

if $CONF.uri_path
	map($CONF.uri_path) do
    # FIXME: this probably isn't the smartest way of remapping the themes dir to uri_path/themes
    use Rack::Static, $CONF[:static] if $CONF[:static]
		run CASServer
	end
else
	run CASServer
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gunark-rubycas-server-0.8.0.20090430 config.ru
gunark-rubycas-server-0.8.0.20090506 config.ru