Skip to content

Commit 97a01c4

Browse files
committed
Add more dependencies to the runtime (ruby) in order to make it work properly for native extensions.
1 parent 463f857 commit 97a01c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/metacall-runtime.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ sub_ruby(){
7272

7373
$SUDO_CMD apt-get update
7474
# sub_apt_install_hold ruby2.5 libruby2.5
75-
$SUDO_CMD apt-get -y install --no-install-recommends --allow-remove-essential libncurses5 libtinfo5 ruby2.3 libruby2.3
76-
$SUDO_CMD apt-mark hold libncurses5 libtinfo5 ruby2.3 libruby2.3
75+
$SUDO_CMD apt-get -y install --no-install-recommends --allow-remove-essential --allow-downgrades libssl1.1 libffi6 zlib1g libyaml-0-2 libgmp10=2:6.1.2+dfsg-1 libreadline7 libxml2 libncurses5 libtinfo5 ruby2.3 libruby2.3
76+
$SUDO_CMD apt-mark hold libssl1.1 libffi6 zlib1g libyaml-0-2 libgmp10 libreadline7 libxml2 libncurses5 libtinfo5 ruby2.3 libruby2.3
7777

7878
# TODO: Remove this when using ruby2.5 (not available yet because it fails on loading a script with a malloc error)
7979
$SUDO_CMD mv /etc/apt/sources.list.backup /etc/apt/sources.list

0 commit comments

Comments
 (0)