Sha256: 02aa65407b3f700ba05f7de4ad7b766e366284fdc22f9ff4719ebc3deabeae87
Contents?: true
Size: 597 Bytes
Versions: 1
Compression:
Stored size: 597 Bytes
Contents
if File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../../vendor/picnic/lib')) puts "Loading picnic from #{picnic.inspect}..." $: << picnic elsif File.exists?(picnic = File.expand_path(File.dirname(File.expand_path(__FILE__))+'/../../../picnic/lib')) puts "Loading picnic from #{picnic.inspect}..." $: << picnic else puts "Loading picnic from rubygems..." require 'rubygems' begin # Try to load dev version of picnic if available (for example 'zuk-picnic' from Github) gem /^.*?-picnic$/ rescue Gem::LoadError gem 'picnic' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
godfat-rubycas-server-0.8.0.20090918 | lib/casserver/load_picnic.rb |