Sha256: fdaf18b0cb0555bfa32211732662b9b12f01f266ed2146d95dd8f15e99401579
Contents?: true
Size: 677 Bytes
Versions: 2
Compression:
Stored size: 677 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 begin # 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 rescue Exception # just be failsafe end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lookout-jruby-2.4.0 | lib/lookout/jruby/psych.rb |
lookout-jruby-2.3.0 | lib/lookout/jruby/psych.rb |