You could create a new rails app with oracle as the database option, set the appropriate user in the database.yml, test the connection, then run that rake command. The schema file is all you want, so grab the schema file and toss the rails app away. Have you tried something like that?
Regards
Greg