lib/trinidad/web_app.rb in trinidad-1.0.3 vs lib/trinidad/web_app.rb in trinidad-1.0.4
- old
+ new
@@ -32,9 +32,10 @@
@params ||= {}
add_parameter_unless_exist 'jruby.min.runtimes', jruby_min_runtimes.to_s
add_parameter_unless_exist 'jruby.max.runtimes', jruby_max_runtimes.to_s
add_parameter_unless_exist 'jruby.initial.runtimes', jruby_min_runtimes.to_s
add_parameter_unless_exist 'public.root', File.join('/', public_root)
+ add_parameter_unless_exist 'jruby.compat.version', RUBY_VERSION
@params
end
def default_deployment_descriptor
@deployment_descriptor ||= if default_web_xml