Ruby app with non-system Ruby

Valentin V. Bartenev vbart at
Wed Jan 30 21:15:27 UTC 2019

On Wednesday, 30 January 2019 23:59:31 MSK Valentin V. Bartenev wrote:
> On Wednesday, 30 January 2019 22:59:28 MSK megatux at wrote:
> > Pasted on this Gist:
> >
> > 
> It seems there is no Ruby dynamic library (, but only a
> static one (libruby-static.a).
> Unit currently is unable to build Ruby modules with static libraries.
> I'll consider it as a feature request.
> I suggest to look into "asdf" options (if any).  Probably it can
> be configured to install dynamic Ruby library as well.

Ruby build should be configured with "--enable-shared" flag.

Please try setting: CONFIGURE_OPTS="--enable-shared" environment variable
before running "asdf install".

  wbr, Valentin V. Bartenev

More information about the unit mailing list