aetherical
unread,Jan 23, 2009, 4:53:54 PM1/23/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rawr-lib
I've an app which uses gruff & prawn; it runs just fine either in MRI
or JRuby, so I'm wanting to package it up using rawr.
I've done my install, and modified the config file.
I've unpacked gems (more about this below)
I've done a rake rawr:jar
When I do my java -jar JARFILE, it comes back and says it can't find
prawn, which has been unpacked and compiled.
More about the unpacking -- a number of gems wouldn't compile due to
the '-' issue, basically compiling the tests failed. So, I nuked the
test/spec directories and recompiled. Doing this I was able to make a
jar. However, it didn't find the gem, so I renamed the directories,
stripping out the versioning, and recompiled (after removing the
*_minus_* directories) Still can't find the gem.
Do I need to do anything special for it to find it? Is it an issue
that I'm using doing a require 'rubygems' ?
I could create a custom jruby-complete jar, where I've embedded the
gems, but I'm sure I'm missing something.
Thanks in advance,
Matt