Finally, if your system doesn't support dynamic linking, or if you
have an extension module that you want to have statically linked into
Ruby itself, edit the file
the distribution and add your directory to the list of extensions in
the file, then rebuild Ruby.
The extensions listed in
statically linked into the Ruby executable. If you want to disable
any dynamic linking, and link all extensions statically, edit
to contain the following option.