Sha256: 9ae060b176bbf3d3901bfb51eeb325df50e5b5f361c6cf0ea4b7c7b4a9b3603b
Contents?: true
Size: 653 Bytes
Versions: 9
Compression:
Stored size: 653 Bytes
Contents
module JettyRails module Adapters class AbstractAdapter attr_reader :config def initialize(config) @config = config end def base_init_params() @base_init_params ||= { 'public.root' => '/public', 'gem.path' => config[:gem_path] || ENV['GEM_PATH'] || 'tmp/war/WEB-INF/gems', 'jruby.initial.runtimes' => "#{config[:jruby_min_runtimes]}", 'jruby.min.runtimes' => "#{config[:jruby_min_runtimes]}", 'jruby.max.runtimes' => "#{config[:jruby_max_runtimes]}" } end def event_listeners [] end end end end
Version data entries
9 entries across 9 versions & 3 rubygems