Problems with Jruby and Oracle

Hi all,
when I try to start my jruby app I receive the following error:
The driver encountered an error: unable to choose type for text from:
["LONG ", "CLOB "]

Curiously,I can start my app if I point it to another Oracle database
which has the same version.
What could that be?

Regards,
Rafael R.