fixes jruby error in supervisor spec