Sha256: 2080cb9d92a68e9deba9668854693a47619853582f858692c4669e137047d4d7

Contents?: true

Size: 653 Bytes

Versions: 7

Compression:

Stored size: 653 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/service_control'

ctl = Picnic::ServiceControl.new('rubycas-server')

ctl.handle_cli_input

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
gunark-rubycas-server-0.7.999.20090212 bin/rubycas-server-ctl
gunark-rubycas-server-0.7.9999.20090212 bin/rubycas-server-ctl
gunark-rubycas-server-0.8.0.20090213 bin/rubycas-server-ctl
gunark-rubycas-server-0.8.0.20090225 bin/rubycas-server-ctl
gunark-rubycas-server-0.8.0.20090227 bin/rubycas-server-ctl
wmernagh-rubycas-server-0.7.1.1 bin/rubycas-server-ctl
rubycas-server-0.7.1 bin/rubycas-server-ctl