I need to modify a plugin’s asset installation routines to handle
deployment in a WAR file, where there is no “public” directory.
So I’m looking for a programmatic way to key on the fact that I’ve
deployed via WAR file into a container? I’m thinking maybe I can detect
the absence of the “public” directory under RAILS_ROOT? Maybe an env.
var. set in web.xml? Another way?
Also, note that a standalone JRuby run of the app would have a public
directory (as normal) so using RUBY_PLATFORM =~ /java/ is not enough.
To unsubscribe from this list, please visit: