From: Rich Apodaca Date: 2006-09-20T13:03:15+09:00 Subject: Re: Using Rubygems to Package Java Jarfiles Ola Bini wrote: > Rich Apodaca wrote: >> The whole process would be essentially the same as working with any >> One possibility seems to be Gem.dir, which gives the top-level directory >> Also, is there a better way to do what I'm trying to do? >> >> thanks, >> Rich >> > > Hi Rich, > > We're working on an approach like this for packaging Java extensions to > Ruby systems. If we get what we want, you'll be able to (from JRuby) do > gem install mongrel, choose java-version (instead of linux or mswin32) > from the list, and the Java extension will be automatically installed. > This requires the JRuby runtime to work, of course. Thanks for the info, Ola. I've written an article describing another solution that works with the C Ruby implementation (letting you use C extensions _and_ Java at the same time): http://depth-first.com/articles/2006/09/14/cdk-the-ruby-way It might also work with JRuby. Best, Rich -- Posted via http://www.ruby-forum.com/.