Skip to content

Commit f93d640

Browse files
committed
Add the required packages of the build environment
Need these pre-requisites in order to install ruby in rbenv
1 parent 4381bab commit f93d640

File tree

1 file changed

+12
-0
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-code-server-rbenv-add-package

1 file changed

+12
-0
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-code-server-rbenv-add-package/run

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,15 @@ if ! dpkg -s git >/dev/null 2>&1; then
1111
else
1212
echo "**** git already installed, skipping ****"
1313
fi
14+
15+
# List comes from: https://github.com/rbenv/ruby-build/wiki#ubuntudebianmint
16+
echo "Adding the required packages of the build environment for rbenv ruby-build "
17+
echo "\
18+
autoconf \
19+
build-essential \
20+
libffi-dev \
21+
libgmp-dev \
22+
libssl-dev \
23+
libyaml-dev \
24+
rustc \
25+
zlib1g-dev" >> /mod-repo-packages-to-install.list

0 commit comments

Comments
 (0)