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

Bruce Adams <[email protected]> Thu, 23 Apr 2015 09:28:09 -0400
Newsgroups gmane.comp.lang.jruby.user
Message-ID <1429795689.1180815.257628989.2DF03A35@webmail.messagingengine.com>
Naresh -

And that is the problem. You need to be using a bundle within JRuby.

I can hope that "which gem" shows a path under your .rvm directory with
jruby-1.7.16 in the path. If that is true, then "gem install bunder"
should get the correct "bundle" onto your path (so "which bundle" will
also show a path under .rvm/.../jruby-1.7.16/...)

If "which gem" shows a system "gem", such as /usr/bin/gem, then a simple
"gem install bundler" won't do what you need. You'll need to track down
the "gem" command associated with your JRuby and use that.

- Bruce

On Thu, Apr 23, 2015, at 01:12 AM, Naresh Gundu wrote:
> Here is the bundle info which I am using
> 
> (See full trace by running task with --trace)
> test@pts00433-vm8:~/Travis/travis-logs$ which bundle
> /usr/bin/bundle
> test@pts00433-vm8:~/Travis/travis-logs$ bundle -v
> Bundler version 1.6.3
> test@pts00433-vm8:~/Travis/travis-logs$ whereis bundler
> bundler: /usr/bin/bundler
> test@pts00433-vm8:~/Travis/travis-logs$ whereis bundle
> bundle: /usr/bin/bundle /usr/share/man/man1/bundle.1.gz

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

    http://xircles.codehaus.org/manage_email