andreasronge/neo4j — Issue #150: LoadError: no such file to load -- active_support
Author: alxlist
Created: 2012-01-31 15:12:13+00:00
State: open

Hi, I've just wanted to try neo4j with jruby (via rvm) but came across the following issue. Under ubuntu 10.10 (amd64) I did:

1. installed rvm
2. rvm install jruby
3. rvm alias create default jruby
4. rvm jruby
5. gem install neo4j
6. started irb (see below)

u1@host:~$ ruby -v
jruby 1.6.6 (ruby-1.8.7-p357) (2012-01-30 5673572) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [linux-amd64-java]
u1@host:~$ irb
jruby-1.6.6 :001 > require 'rubygems'
=> true
jruby-1.6.6 :002 > require 'neo4j'
LoadError: no such file to load -- active_support/core_ext/class/inheritable_attributes
from org/jruby/RubyKernel.java:1027:in `require'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `require'
from /home/u1/.rvm/gems/jruby-1.6.6/gems/neo4j-1.3.1-java/lib/neo4j.rb:9:in `(root)'
from org/jruby/RubyKernel.java:1027:in `require'
from /home/u1/.rvm/gems/jruby-1.6.6/gems/neo4j-1.3.1-java/lib/neo4j.rb:59:in `require'
from (irb):2:in `evaluate'
from org/jruby/RubyKernel.java:1077:in `eval'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:158:in `eval_input'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:271:in `signal_status'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:155:in `eval_input'
from org/jruby/RubyKernel.java:1408:in `loop'
from org/jruby/RubyKernel.java:1181:in `catch'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:154:in `eval_input'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:71:in `start'
from org/jruby/RubyKernel.java:1181:in `catch'
from /home/u1/.rvm/rubies/jruby-1.6.6/lib/ruby/1.8/irb.rb:70:in `start'
from /home/u1/.rvm/rubies/jruby-1.6.6/bin/irb:17:in `(root)'jruby-1.6.6 :003 >

Any ideas?

Thanks in advance!