Sha256: bd69bc9612cfa965dc8b8910f0b6e0c8e99f3d0dfbc85ec7af4761003400099e
Contents?: true
Size: 623 Bytes
Versions: 2
Compression:
Stored size: 623 Bytes
Contents
$: << File.dirname(File.expand_path(__FILE__)) # Try to load local version of Picnic if possible (for development purposes) $: << File.dirname(File.expand_path(__FILE__))+"/../../../picnic/lib" $: << File.dirname(File.expand_path(__FILE__))+"/../../vendor/picnic/lib" begin require 'picnic' rescue LoadError => e # make sure that the LoadError was about picnic and not something else raise e unless e.to_s =~ /picnic/ require 'rubygems' # make things backwards-compatible for rubygems < 0.9.0 unless Object.method_defined? :gem alias gem require_gem end gem 'picnic' require 'picnic' end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
relevance-rubycas-server-0.6.99 | lib/casserver/environment.rb |
rubycas-server-0.6.0 | lib/casserver/environment.rb |