summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/mkconfig.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/mkconfig.rb b/tool/mkconfig.rb
index fc91ddec3f..b37241df61 100755
--- a/tool/mkconfig.rb
+++ b/tool/mkconfig.rb
@@ -136,7 +136,7 @@ File.foreach "config.status" do |line|
v_others << v
end
case name
- when "ruby_version"
+ when "RUBY_PROGRAM_VERSION"
version = val[/\A"(.*)"\z/, 1]
end
end