[jruby-user] How to use custom class files in Rails?

David Maxwell <[email protected]> Sun, 09 Nov 2014 19:41:09 +0100
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
I am using some custom jars in a JRuby on Rails project. All I'm doing
is putting them into the /lib directory and then requiring java and
importing them via my models, etc.

The problem is that I want to do something more complex with these jars
than what I'm capable of with JRuby - I need to be able to write pure
java code to interact with them properly.

So what if I want to have a central .class file or something which I
call from my model, which then interacts with the jars? Is this
possible? Do I need to add my custom class file to one of the jars?

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email