Sha256: 6a4d702f2a63ee14d8e9e39cd5039616a2211a85ec5488dea2b9e34e88f16497
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
require 'rubygems' require "bundler/setup" require 'neo4j' require 'neo4j-admin' Neo4j.start graphdb = Neo4j.db.graph #WrappingNeoServerBootstrapper srv; puts "start server" srv = org.neo4j.server.WrappingNeoServerBootstrapper.new(graphdb) srv.start puts "SLEEP" while(true) sleep(180) end puts "WAKE UP" puts "Wait" # The server is now running # until we stop it: srv.stop() Neo4j.shutdown
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
neo4j-admin-0.2.0-java | lib/test.rb |