Jruby:NameError:未初始化的常量Neo4j

我从git运行这个例子: https : //github.com/andreasronge/neo4j

require "rubygems" require 'neo4j' Neo4j::Transaction.run do node = Neo4j::Node.new(:name => 'andreas') node.outgoing(:friends) < 'peter') node.outgoing(:friends).each {|node| puts "name #{node[:name]}"} end 

它输出错误:

 NameError: uninitialized constant Neo4j const_missing at org/jruby/RubyModule.java:2626 (root) at ./neo4j.rb:4 require at org/jruby/RubyKernel.java:1027 require at ./neo4j.rb:36 (root) at /Users/ZATLUKE/RubymineProjects/nokogiri/neo4j.rb:2 load at org/jruby/RubyKernel.java:1052 (root) at -e:1 

有任何想法吗?