bin/rubycas-server in gunark-rubycas-server-0.6.99.336 vs bin/rubycas-server in gunark-rubycas-server-0.7.999.20090212

- old
+ new

@@ -6,21 +6,22 @@ $: << picnic else require 'rubygems' # make things backwards-compatible for rubygems < 0.9.0 - unless Object.method_defined? :gem + if respond_to?(:require_gem) + puts "WARNING: aliasing gem to require_gem in #{__FILE__} -- you should update your RubyGems system!" alias gem require_gem end - + gem 'picnic' end require 'picnic/cli' cli = Picnic::Cli.new( 'rubycas-server', - :app_path => File.expand_path(File.dirname(File.expand_path(__FILE__))), - :app_module => 'CASServer' + :app_module => 'CASServer', + :app_file => File.expand_path(File.dirname(File.expand_path($0))+"/../lib/casserver.rb") ) cli.handle_cli_input