Sha256: dde9690116c3dda94a0fe35cc7db17e15501d0044275f540ad8b672565e60771
Contents?: true
Size: 445 Bytes
Versions: 27
Compression:
Stored size: 445 Bytes
Contents
module Trinidad class RackupWebApp < WebApp def init_params super if rackup_path = rackup rackup_path = File.join(rackup_path, 'config.ru') if File.directory?(rackup_path) add_parameter_unless_exist('rackup.path', rackup_path) add_parameter_unless_exist('rack.env', environment.to_s) end @params end def context_listener; 'org.jruby.rack.RackServletContextListener'; end end end
Version data entries
27 entries across 27 versions & 1 rubygems