trinidad/trinidad_scheduler_extension — pull request #4 by calavera (2011-12-16 20:17:15+00:00)
Title: set the global servlet context in case the web app has not been initialized yet

if jruby-rack has not loaded the web app context yet the global variable $servlet_context is nil when the jobs are loaded.

This patch prevents this to happen.