최근 포스트그레스 대신 neo4j를 사용하는 레일 앱을 계승했습니다.neo4j가 지원하는 레일 앱의 루비 사양 테스트를 실행할 수 없습니다
나는이
NEO4J_TYPE=bolt NEO4J_URL="bolt://localhost" bundle exec rake spec
같은 사양 테스트를 실행하려고하면 나는 또한
NEO4J_TYPE=bolt NEO4J_URL="bolt://localhost:7687" bundle exec rake spec
내가 http://neo4jrb.readthedocs.io/en/7.1.x/Setup.html 및 http://neo4jrb.readthedocs.io/en/9.0.x/Testing.html
012,351,641 읽기 시도/Users/user1/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:66:in `create_request': undefined method `request_uri' for #<URI::Generic bolt://localhost> (NoMethodError)
수
그러나 해결책을 아직 찾지 못했습니다. 내가했던
어떤 것들은 :
brew install neo4j. # also installed java 8 with brew
rake neo4j:config[test,7575]
brew services stop neo4j
brew services start neo4j
$ cypher-shell -a bolt://localhost
Connected to Neo4j 3.3.0 at bolt://localhost:7687.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j>
Interrupted (Note that Cypher queries must end with a semicolon. Type :exit to exit the shell.)
neo4j>