I have developed an application using ROR. For one feature, now I have
to use JRuby. I have installed JRuby in my system.
I included the follwing statement in my controller.
I got the following error.
“uninitialized constant Java (NameError)”
This is because the file is executes using “ruby” command. But when I
run the file as a stand-alone program using “jruby” command, it executed
successfully. But it is not working with my application.
Can i force the interpreter to use “jruby” command only for this file?
Is there any way to solve this issue?
Thanks in advance…