I’m attempting to build my first Neo4j application on Rails and jRuby. Here is my gemfile…
https://gist.github.com/4087134
When I bundle I get this error: Could not find gem ‘neo4j (>= 0) ruby’ in git://github.com/andreasronge/neo4j.git (at master).
Source contains ‘neo4j’ at: 2.2.0
Not sure what I’m doing wrong.
Looks like Bundler is not using jruby…It’s looking for ‘neo4j (>= 0) ruby’.
This happens to me when I forget to have RVM switch over to jruby.
If you’re not using RVM, you can use the –shebang option on bundler to use jruby. Like:
bundle –shebang which jruby