Sha256: 43d1ba65209765539e7fc3c160d3b214f68bbd7d1fdc0842394bb82cd3f4e77f
Contents?: true
Size: 613 Bytes
Versions: 1
Compression:
Stored size: 613 Bytes
Contents
# this is workaround for https://github.com/jruby/jruby/issues/3306 # jruby-9k just works if JRUBY_VERSION.start_with?("1.") require 'yaml' module YAML class << self alias :_load_file :load_file def load_file( filename ) if filename.start_with?("uri:classloader:/") self.load(File.read(filename)) else _load_file(filename) end end end end end # This hack is required because YAML is all kinds of messed up and incompatible # with our version of Configatron under JRuby module Psych module Yecht class MergeKey end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lookout-jruby-2.2.0 | lib/lookout/jruby/psych.rb |