Skip to content

Commit

Permalink
[Truffle] Set JRUBY_VERSION.
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvdrum committed May 27, 2015
1 parent 9c22b94 commit 7c1f6e5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ private void initializeConstants() {
// Set constants

objectClass.setConstant(node, "RUBY_VERSION", RubyString.fromJavaString(stringClass, Constants.RUBY_VERSION));
objectClass.setConstant(node, "JRUBY_VERSION", RubyString.fromJavaString(stringClass, Constants.VERSION));
objectClass.setConstant(node, "RUBY_PATCHLEVEL", Constants.RUBY_PATCHLEVEL);
objectClass.setConstant(node, "RUBY_ENGINE", RubyString.fromJavaString(stringClass, Constants.ENGINE + "+truffle"));
objectClass.setConstant(node, "RUBY_PLATFORM", RubyString.fromJavaString(stringClass, Constants.PLATFORM));
Expand Down

0 comments on commit 7c1f6e5

Please sign in to comment.