[precompilation] App without source code

Hello, using JRuby 1.2.0 RC2 under Windows XP I’m able to precompile .rb
source code as .class java opcodes.
However I have two problems :

  1. I need to leave a .rb file for each .class file (I mean, an empty
    file with the original name). I presume that’s due to inner Rails
    behaviour… Rails seems to need absolutely the .rb files. Any solution
    ?

  2. How do I precompile view files ? Is there anything to do with .erb
    files ?

Thanks