rich manalang

aka @rmanalan
« Back to blog
Oct 13
Views

Have a need to compile your Rails app (o ...

Have a need to compile your Rails app (on JRuby)? If you're shipping a Rails app as a product and need to protect your IP, JRuby can compile your *.rb files to first class Java class files... but you'll need this patch. After applying that, you can simply do this: [code language=ruby] jrubyc app/ lib/ rm `find app/ lib/ -name '*.rb'` [/code]