Sha256: f9dcc60859ab54a8217c25745382f12c244fa81a4ebb8d563a3c40f3cdd2f25d
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 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" sleep(180) puts "WAKE UP" puts "Wait" # The server is now running # until we stop it: srv.stop() Neo4j.shutdown
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
neo4j-admin-0.1.0-java | lib/test.rb |
neo4j-admin-0.0.2-java | lib/test.rb |
neo4j-admin-0.0.1-java | lib/test.rb |