[jruby-user] Re: Sequel::AdapterNotFound: LoadError: cannot load such file -- java

Naresh Gundu <[email protected]> Wed, 22 Apr 2015 16:16:04 +0200
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
Bruce Adams wrote in post #1172461:
> The error message indicates that Ruby 2.1.0 is running, not JRuby.
>
> Whatever setup is running is not using JRuby for this rake command.
>
> What happens if you run this command
>     ruby -v
> Does the Ruby version indicate "jruby"?
>
> How about this command:
>    which rake
>
> - Bruce

Hi Bruce,

here are the details of ruby -v, jruby -v , rake

test@pts00433-vm8:~/Travis/travis-logs$ ruby -v
jruby 1.7.16 (1.9.3p392) 2014-09-25 575b395 on OpenJDK 64-Bit Server VM
1.7.0_75-b13 +jit [linux-ppc64]
test@pts00433-vm8:~/Travis/travis-logs$ jruby -v
jruby 1.7.16 (1.9.3p392) 2014-09-25 575b395 on OpenJDK 64-Bit Server VM
1.7.0_75-b13 +jit [linux-ppc64]
test@pts00433-vm8:~/Travis/travis-logs$ which rake
/home/test/.rvm/rubies/jruby-1.7.16/bin/rake

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email