I have not used Oracle but this link looks as if it might get yougoing in the right directionhttp://www.skorks.com/2010/02/using-ruby-on-rails-with-oracle-and-deploying-it-all-to-tomcat/
Colin