On Wed, Sep 29, 2010 at 3:28 AM, Roger G. [email protected] wrote:
I’m still struggling with the task to embed a jruby setup into an existing
Java application. I tried rawr which doesn’t seem to do what I wan’t. I
played a bit more with the Scripting container and it works as long as i
reference the gems in my JRuby home. But I need to integrate the gems into
the jar I’m going to deploy.
Is this possible ?
My suggestion might be alternative to what in your mind.
If you don’t mind to use bundler, you can put all classes and gems in
a single jar easily. Here’s a gist http://gist.github.com/603328
I installed DataMapper gems in my Java project on Eclipse, so the path
to Gemfile includes user.dir system property. When you want to build
all in a jar archive, a path to Gemfile should be something like
Hope this helps.
To unsubscribe from this list, please visit: