summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/ruby')
-rw-r--r--auto/modules/ruby2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/ruby b/auto/modules/ruby
index eb5474ac..8c5dec0f 100644
--- a/auto/modules/ruby
+++ b/auto/modules/ruby
@@ -91,7 +91,7 @@ if [ $nxt_found = no ]; then
exit 1;
fi
-NXT_RUBY_VERSION=`$NXT_RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG["ruby_version"])'`
+NXT_RUBY_VERSION=`$NXT_RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG["RUBY_PROGRAM_VERSION"])'`
$echo " + Ruby version: ${NXT_RUBY_VERSION}"
if grep ^$NXT_RUBY_MODULE: $NXT_MAKEFILE 2>&1 > /dev/null; then