Sha256: bacee0eb8c839d4509eb88056913ef00aa946cf8602360013f1fd3bce8c3c68e

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

require "lookout/jruby/version"

module Lookout
  module Jruby
    if RUBY_PLATFORM == 'java'
      require 'java'

      # If we can require jruby-openssl - because it's available in the bundle -
      # do so.  If not, JRuby should have openssl baked in, as of 1.7.
      begin
        require 'jruby-openssl'
      rescue LoadError => e
        require 'openssl'
      end

      # JRuby cert/path hack
      require 'lookout/jruby/jruby-6970'
      require 'lookout/jruby/jruby-6970-openssl'

      # JRuby YAML hack
      require 'lookout/jruby/psych'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lookout-jruby-1.3.1 lib/lookout/jruby.rb
lookout-jruby-1.3.0 lib/lookout/jruby.rb