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