summaryrefslogtreecommitdiffhomepage
path: root/src/ruby/nxt_ruby.c
diff options
context:
space:
mode:
authorAlexander Borisov <alexander.borisov@nginx.com>2018-04-04 18:53:39 +0300
committerAlexander Borisov <alexander.borisov@nginx.com>2018-04-04 18:53:39 +0300
commit49bd3a21e0f995c895b445c0566227661418c2bc (patch)
tree1822ad6a45f285ba1db652eec99949a128d39c15 /src/ruby/nxt_ruby.c
parent0665896a5593fb41c92cbf164182a058ee40518c (diff)
downloadunit-49bd3a21e0f995c895b445c0566227661418c2bc.tar.gz
unit-49bd3a21e0f995c895b445c0566227661418c2bc.tar.bz2
Changed version processing for modules.
Diffstat (limited to '')
-rw-r--r--src/ruby/nxt_ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ruby/nxt_ruby.c b/src/ruby/nxt_ruby.c
index 7ae5c73d..6785d031 100644
--- a/src/ruby/nxt_ruby.c
+++ b/src/ruby/nxt_ruby.c
@@ -74,7 +74,7 @@ NXT_EXPORT nxt_application_module_t nxt_app_module = {
sizeof(compat),
compat,
nxt_string("ruby"),
- nxt_string(NXT_RUBY_LIB_VERSION),
+ ruby_version,
nxt_ruby_init,
nxt_ruby_run,
nxt_ruby_atexit,