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