Sha256: 40e3324a13a56e58424736b4a94490649739d1de1385dd938e1aed92dd7f9696

Contents?: true

Size: 554 Bytes

Versions: 6

Compression:

Stored size: 554 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
  unless Object.method_defined? :gem
    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

6 entries across 6 versions & 4 rubygems

Version Path
gunark-rubycas-server-0.6.99.336 bin/rubycas-server-ctl
relevance-rubycas-server-0.6.99 bin/rubycas-server-ctl
wmernagh-rubycas-server-0.6.99.336 bin/rubycas-server-ctl
rubycas-server-0.6.0 bin/rubycas-server-ctl
rubycas-server-0.7.0 bin/rubycas-server-ctl
rubycas-server-0.7.1.1 bin/rubycas-server-ctl