I'm trying to add Neo4j graph database to my rails application. I've install neo4j gem.
The problem is when I run bundle (with RVM set to JRuby) I get this message for other gems that are not available in jruby (mini_magick
to be specific):
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/Felan/.rvm/rubies/jruby-1.7.10/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
I couldn't find out how to pass options to jruby and I can not remove incompatible gems. How can I work this out? Can anyone point to a good article on how to setup Neo4j for an existing Rails 4 project?