Sha256: 6f8e92724b3b3854f76eca912e5d1cee6bd6274c8c0589fe64502d8b5a6b156b

Contents?: true

Size: 439 Bytes

Versions: 1

Compression:

Stored size: 439 Bytes

Contents

require "neo4j-enterprise/version"

module Neo4j
  module Enterprise

    def self.jars_root
      File.join("#{File.dirname(__FILE__)}", "neo4j-enterprise", "jars")
    end

    def self.load_jars!
      require 'java'
      require 'neo4j-community'
      ::Neo4j::Community.ensure_version!(Enterprise::NEO_VERSION, 'enterprise')
      Dir["#{jars_root}/*.jar"].each {|jar| require jar }
    end

  end
end

Neo4j::Enterprise.load_jars!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neo4j-enterprise-2.2.1-java lib/neo4j-enterprise.rb