Sha256: 8e66484e76fc5c781585738348b42cf46f6efadc381dd6cec9ef7e798f1c2dfd
Contents?: true
Size: 599 Bytes
Versions: 11
Compression:
Stored size: 599 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
11 entries across 11 versions & 4 rubygems