Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the CompatVersion for the JrubyBackend #460

Merged
merged 1 commit into from
Feb 25, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixing the CompatVersion for the JrubyBackend
Closes #415
  • Loading branch information
dkowis committed Feb 12, 2013
commit d383c93fadbf0a9fa12819c1ababce4bc7d93518
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