Ruby app with non-system Ruby

Valentin V. Bartenev vbart at nginx.com
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 gmail.com wrote:
> > Pasted on this Gist:
> > https://gist.github.com/megatux/b07eb0fe2820872e6b87c48a6df36a7d
> > 
> 
> It seems there is no Ruby dynamic library (libruby.so), 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