Skip to content

Commit

Permalink
Explicitly install ncurses for CRuby<3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhodgson committed Sep 3, 2024
1 parent c3f5715 commit 8c12e01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions image/ruby-3.1.6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ source /pd_build/buildconfig

RVM_ID=$(basename "$0" | sed 's/.sh$//')

## For readline (rvm doesn't always get current package names)
run minimal_apt_get_install libncurses6 libncursesw6 ncurses-base libncurses-dev

header "Installing $RVM_ID"

run mkdir -p "/build_cache/${ARCH}"
Expand All @@ -20,6 +23,7 @@ else
fi

run /usr/local/rvm/bin/rvm-exec $RVM_ID@global gem install $DEFAULT_RUBY_GEMS --no-document

# Make passenger_system_ruby work.
run create_rvm_wrapper_script ruby3.1 $RVM_ID ruby
run /pd_build/ruby_support/install_ruby_utils.sh
Expand Down
3 changes: 3 additions & 0 deletions image/ruby-3.2.5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ source /pd_build/buildconfig

RVM_ID=$(basename "$0" | sed 's/.sh$//')

## For readline (rvm doesn't always get current package names)
run minimal_apt_get_install libncurses6 libncursesw6 ncurses-base libncurses-dev

header "Installing $RVM_ID"

run mkdir -p "/build_cache/${ARCH}"
Expand Down

0 comments on commit 8c12e01

Please sign in to comment.