Skip to content

Commit

Permalink
Add more dependencies to the runtime (ruby) in order to make it work …
Browse files Browse the repository at this point in the history
…properly for native extensions.
  • Loading branch information
viferga committed Feb 7, 2020
1 parent 463f857 commit 97a01c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/metacall-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ sub_ruby(){

$SUDO_CMD apt-get update
# sub_apt_install_hold ruby2.5 libruby2.5
$SUDO_CMD apt-get -y install --no-install-recommends --allow-remove-essential libncurses5 libtinfo5 ruby2.3 libruby2.3
$SUDO_CMD apt-mark hold libncurses5 libtinfo5 ruby2.3 libruby2.3
$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
$SUDO_CMD apt-mark hold libssl1.1 libffi6 zlib1g libyaml-0-2 libgmp10 libreadline7 libxml2 libncurses5 libtinfo5 ruby2.3 libruby2.3

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

0 comments on commit 97a01c4

Please sign in to comment.