I need help to call java classes from the a controller action. I can
call a java class from a ruby script, but when I am trying to call in
itself gives me load error.
I have java 1.4, jruby 0.9.0 and ruby 1.8.5 installed.
I have tried to start server as :
jruby script/server but it does not work.
In my application I need to use 3rd party java apis. How can I call
external ruby script from controller action if that can work ?
Any help is greatly appreciated.