我在这里查看文档: https://github.com/andreasronge/neo4j-core
我想将会话功能用作:
session = Neo4j::Session.open(:server_db, "http://localhost:7474")
我按照gem list
在jruby-1.7.4
neo4j-community (1.9.M05 java)
neo4j-core (2.3.0 java)
neo4j-cypher (1.0.2)
我不能使用Neo4j :: Session,因为我总是收到错误:
NameError:
uninitialized constant Neo4j::Session
打开irb会话并要求neo4j-core并进行检查向我展示:
无法找到会话模块。我在哪里错过了?
答案 0 :(得分:3)
您阅读了v3.0的文档,但使用的是stable gem v2.3.0