summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ruby/nxt_ruby.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ruby/nxt_ruby.c b/src/ruby/nxt_ruby.c
index abb9640e..7ae5c73d 100644
--- a/src/ruby/nxt_ruby.c
+++ b/src/ruby/nxt_ruby.c
@@ -148,6 +148,9 @@ nxt_ruby_init_basic(VALUE arg)
return Qnil;
}
+ rb_funcall(rb_cObject, rb_intern("require"), 1,
+ rb_str_new2("enc/trans/transdb"));
+
rc = nxt_ruby_init_io(rack_init->task);
if (nxt_slow_path(rc != NXT_OK)) {
return Qnil;