Fix ruby version to 1.8 with jruby