Skip to content

Commit d383c93

Browse files
committed
Fixing the CompatVersion for the JrubyBackend
Closes #415
1 parent 9114f7c commit d383c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jruby/src/main/java/cucumber/runtime/jruby/JRubyBackend.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public JRubyBackend(ResourceLoader resourceLoader) throws UnsupportedEncodingExc
6161
jruby.setCompatVersion(CompatVersion.RUBY1_8);
6262
}
6363
if ("1.9".equals(rubyVersion)) {
64-
jruby.setCompatVersion(CompatVersion.RUBY1_8);
64+
jruby.setCompatVersion(CompatVersion.RUBY1_9);
6565
}
6666
if ("2.0".equals(rubyVersion)) {
6767
jruby.setCompatVersion(CompatVersion.RUBY2_0);

0 commit comments

Comments
 (0)