# &adminguide;

## Overview

The module implements per-child-process C API functions required by app_ruby module.

Important: this module must not be loaded standalone via loadmodule, the app_ruby module loads it in each child process. This is required because libruby 1.9+ is multi-threaded and must be initialized per each child process, after forking, otherwise threads locks and resources are inherited and can lead to unpredictable behaviour, such as crashes.

## Dependencies

### &kamailio; Modules

The following modules must be loaded before this module:

- app_ruby.

### External Libraries or Applications

The following libraries or applications must be installed before running &kamailio; with this module loaded:

- libruby - the ruby library (for compilation on Debian, ruby-dev package is needed.