rbenv-ruby-build/share/ruby-build/2.4.3
Mislav Marohnić dd1562ed65 Turn on --enable-shared by default for all supported MRI Rubies
Some gems need the host ruby to have shared library enabled. Currently,
we're not aware of any potential downsides to having this enabled by
default.

> Shared libraries are libraries that are loaded by programs when they
> start. When a shared library is installed properly, all programs that
> start afterwards automatically use the new shared library.
> [...] if you have a program that needs a shared library (in this case ruby
> libruby.so.2.2.0 or similar) the program will fail if it doesn't exist.
2019-10-25 13:58:18 +02:00

2 lines
400 B
Groff

install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2.4.3" "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.3.tar.bz2#0a703dffb7737f56e979c9ebe2482f07751803c71e307c20446b581e0f12cf30" ldflags_dirs enable_shared standard verify_openssl