Sha256: 9d0bf70df962459c6748bdc6e95a4e3519febdfb915af5dfc65cc0b732312bd2
Contents?: true
Size: 756 Bytes
Versions: 3
Compression:
Stored size: 756 Bytes
Contents
#!/usr/bin/env ruby if File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../vendor/picnic/lib')) $: << picnic elsif File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../../picnic/lib')) $: << picnic else require 'rubygems' # make things backwards-compatible for rubygems < 0.9.0 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_module => 'CASServer', :app_file => File.expand_path(File.dirname(File.expand_path($0))+"/../lib/casserver.rb") ) cli.handle_cli_input
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gunark-rubycas-server-0.7.999.20090212 | bin/rubycas-server |
gunark-rubycas-server-0.7.9999.20090212 | bin/rubycas-server |
gunark-rubycas-server-0.8.0.20090213 | bin/rubycas-server |