fix running db problem running specs under jruby