diff --git a/README.txt b/README.txt index 8a57a9d..fd4bd13 100644 --- a/README.txt +++ b/README.txt @@ -19,6 +19,8 @@ The project has born from my own needs. I needed to run JForum (http://jforum.ne == KNOWN ISSUES +* Doesn't work with JRuby 1.1.4: http://jira.codehaus.org/browse/JRUBY-2959 + * To generate coverage report with jruby (>= 1.1) follow instructions from http://www.ruby-forum.com/topic/146252 and run (inside jetty-rails root dir): jruby -S rake rcov diff --git a/lib/jetty_rails/handler/web_app_handler.rb b/lib/jetty_rails/handler/web_app_handler.rb index f35f573..72d4d5d 100644 --- a/lib/jetty_rails/handler/web_app_handler.rb +++ b/lib/jetty_rails/handler/web_app_handler.rb @@ -9,6 +9,7 @@ def initialize(config) # create an isolated classloader per application context self.class_loader = org.jruby.util.JRubyClassLoader.new(JRuby.runtime.jruby_class_loader) + self.resource_base = config[:base] self.descriptor = config[:web_xml]