Sha256: 21e6746ede0cc6a94c25d48f0ab0660a75028c4e9c3a8d532671895f5b67b9a7
Contents?: true
Size: 384 Bytes
Versions: 10
Compression:
Stored size: 384 Bytes
Contents
require 'rbconfig' module Rabbit module Config IMAGE_PATH = [ ::Config::CONFIG["datadir"], File.join(".", "data"), ] if Object.const_defined?(:Gem) rabbit_gem_spec = Gem.loaded_specs["rabbit"] if rabbit_gem_spec and rabbit_gem_spec.loaded? IMAGE_PATH.unshift(File.join(rabbit_gem_spec.full_gem_path, "data")) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems