Sha256: b8c7102bdb27a8485bc0a19bb072eef2376c52962eafdcc042184ce85f0b3cb7
Contents?: true
Size: 282 Bytes
Versions: 2
Compression:
Stored size: 282 Bytes
Contents
require 'neo4j-admin' class Neo4jAdmin < Rails::Railtie config.after_initialize do graphdb = Neo4j.started_db.graph srv = Java::OrgNeo4jServer::WrappingNeoServerBootstrapper.new(graphdb) srv.start puts "neo4j-admin: Started admin server on port 7474" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
neo4j-admin-0.2.0-java | lib/neo4j-admin/railtie.rb |
neo4j-admin-0.1.0-java | lib/neo4j-admin/railtie.rb |