All,
Just to verify…
If I place the required JDBC drivers for my application in
RAILS_ROOT/lib, will they automatically be placed in the CLASSPATH for
the JRuby runtime when I start my Rails app.?
If so, what line of code actually causes that to happen?
I have some JARs that are deployed as part of a Rails plugin (so they
aren’t in RAILS_ROOT/lib, they are in
RAILS_ROOT/vendor/plugins/blah/lib, and I would like to simulate this
autoloading that I understand happens in JRoR.
If I’m mistaken about the ability to autoload JDBC drivers by placing
them in RAILS_ROOT/lib, obviously, I need to know about that.
Many thanks,
Wes