I am learning to use neo4j with rails using the neo4jrb project: https://github.com/neo4jrb/neo4j/wiki/Neo4j-v3-Setup#usage-from-rails
As given in instructions i did
rails new testdb_app -m http://neo4jrb.io/neo4j/neo4j.rb -O
Since i already have my neo4j server installed in my ubuntu machine i did not use the rake tasks to start the server.
I set the correct username and password in application.rb like this
config.neo4j.session_options = { basic_auth: { username: 'neo4j', password: '******'} }
config.neo4j.session_type = :server_db
config.neo4j.session_path = 'http://localhost:7474'
But when i do :
rails generate scaffold User name:string email:string
It throws an error in: neo4j-core-5.1.6/lib/neo4j-server/cypher_session.rb:51:in `open': Server not available on http://localhost:7474 (response code 403) (RuntimeError)
But I checked that server is running by visting the url: http://localhost:7474 and i am able to login with the username and password.
What am i doing wrong, is there an issue because i am behind a proxy server (I do have my bash proxy environment variables set).