JRuby Warbler: How to compile all the source files of a Ruby on Rails App -
warbler fantastic gem compiles jruby project(rails) deployable war file. stackoverflow question gives required info.
however, running warble compiled war
hides ruby source codes, fine. leaves other files gemfile. gemfile.lock etc files untouched.
is there way compile these files too? particular included in config/warble.rb
file compile these files too?
an additional, more ambitious requirement not show rails directory structure in web-inf @ all(we going distribute compiled war file clients.) not not optimistic this, can rails directory structure hidden inside web-inf directory?
i don't think that's possible. used warbler lot in days , things compiled
compile source java... also, cannot hide rails folder structure because change require .rb .class , load corresponding java compiled file.
are using java integration jruby? mean, load java lib in ruby, otherwise try others way compile ruby executable https://github.com/phusion/traveling-ruby
Comments
Post a Comment