I have been working on Ehcache integration for JRuby and Rails. There
three gems for this:
Currently, the latest Ehcache JAR is embedded in the jruby-ehcache gem.
would rather have the jruby-ehcache gem simply declare a dependency on
Ehcache Maven artifact instead so that we don’t need to include the
large Ehcache JAR within the gem itself, and also to make it easier to
updated versions of Ehcache in the future.
Is this currently possible? If so, can someone give me a brief tutorial
how to accomplish it?
(Note: I’ve done some searching but the information I’ve found on this
seems to be out of date.)
is the what you need.
apply the patch from the above issue.
use that jruby version from the source tree $CLONE_OF_JRUBY/bin/jruby
and then you should be able to use a maven artifact as gem:
. is the gemname you need to use, i.e.
and you can to require runtime jars (compile + runtime scope in maven
or the development jars (i.e. test + provided scope in maven speak)
about timeline and getting it into jruby main branch someone else
needs to answer this.
but in case you have any problems PLEASE let me know so we can fix it