Closed garmoshka-mo closed 7 years ago
Docs says:
http_adaptor = Neo4j::Core::CypherSession::Adaptors::HTTP.new('http://neo4j:pass@localhost:7474') # or bolt_adaptor = Neo4j::Core::CypherSession::Adaptors::Bolt.new('http://neo4j:pass@localhost:7474', timeout: 10)
Though it will always throw an exception:
uninitialized constant Neo4j::Core::CypherSession (NameError)
One solution - is to prepend requiring of:
require 'neo4j/core/cypher_session/adaptors/http' require 'neo4j/core/cypher_session/adaptors/bolt'
Great point, thanks! I've fixed this in the neo4j-core README as well as in the "Setup" and "Upgrade Guide" sections of the docs
neo4j-core
README
Docs says:
Though it will always throw an exception:
One solution - is to prepend requiring of: