Skip to content

Commit

Permalink
Merge pull request #14 from rails/add-libxml2-to-ruby-feature
Browse files Browse the repository at this point in the history
Add libxml2 to ruby feature
  • Loading branch information
andrewn617 authored Mar 28, 2024
2 parents 1fd391b + 27cdb73 commit 2c17d2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/ruby/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ruby",
"version": "0.2.0",
"version": "0.2.1",
"name": "Ruby (via rbenv)",
"description": "Installs Ruby, rbenv, ruby-build and libraries needed to build Ruby",
"customizations": {
Expand Down
3 changes: 2 additions & 1 deletion features/ruby/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"

apt-get update -y
apt-get -y install --no-install-recommends libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev
apt-get -y install --no-install-recommends libssl-dev libreadline-dev zlib1g-dev autoconf bison build-essential \
libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libxml2-dev

git clone https://github.com/rbenv/rbenv.git /usr/local/share/rbenv
git clone https://github.com/rbenv/ruby-build.git /usr/local/share/ruby-build
Expand Down

0 comments on commit 2c17d2d

Please sign in to comment.