Skip to content

Commit

Permalink
Fixing the CompatVersion for the JrubyBackend
Browse files Browse the repository at this point in the history
Closes #415
  • Loading branch information
dkowis committed Feb 12, 2013
1 parent 9114f7c commit d383c93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public JRubyBackend(ResourceLoader resourceLoader) throws UnsupportedEncodingExc
jruby.setCompatVersion(CompatVersion.RUBY1_8);
}
if ("1.9".equals(rubyVersion)) {
jruby.setCompatVersion(CompatVersion.RUBY1_8);
jruby.setCompatVersion(CompatVersion.RUBY1_9);
}
if ("2.0".equals(rubyVersion)) {
jruby.setCompatVersion(CompatVersion.RUBY2_0);
Expand Down

0 comments on commit d383c93

Please sign in to comment.