java - AOT compiling with jRuby to obfuscate Rails code -
we have ror application running in windows server 2012 r2, using iis, jruby, , puma in clients network. production application runs great! problem now, need protect source code in manner through obfuscation. initial thought compile .rb files .class files jruby digest instead of .rb files. tried single file see if work. navigated myapp/app/controllers and... jruby -s jrubyc application_controller.rb that created compiled class file application_controller.class in directory. tried methods mentioned @ link older version of jruby see if work - https://github.com/jruby/jruby/wiki/railsaot but none of them did, either giving me uninitialized constant applicationcontroller, or unable load file application_controller. i tried instructions https://www.ruby-forum.com/topic/216572#939791 given lack of java knowledge, im pretty sure not have correct. last state of application_controller.rb - require 'java' $classpath << 'lib' java_import 'application_contr...