Adjusted Gemfile for jruby (optional)  

all specs green,
  tested with jruby 1.6.7 in 1.9 compat mode, and with postgresql 9.1