Skip to content

Commit

Permalink
deb rpm: skip installing unbundled readline-ext
Browse files Browse the repository at this point in the history
readline-ext was unbundled since ruby 3.3
There is no need to install it as missing gems (it requires
appropriate development package), so just skip it.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
  • Loading branch information
kenhys committed Oct 24, 2024
1 parent c6f778a commit ec7d14f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ install_missing_plugins() {
cat $local_missing_gems
while read gem
do
if [ "$gem" = "readline-ext" ]; then
# readline-ext is unbundled since ruby 3.3
continue
fi
if ! /usr/sbin/fluent-gem install --no-document $gem; then
echo "Can't install missing gem automatically: please install $gem manually."
fi
Expand Down
4 changes: 4 additions & 0 deletions fluent-package/yum/fluent-package.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@ if [ $1 -eq 2 ]; then
echo "Install missing dependency gems..."
while read gem
do
if [ "$gem" = "readline-ext" ]; then
# readline-ext is unbundled since ruby 3.3
continue
fi
if ! /usr/sbin/fluent-gem install --no-document $gem; then
echo "Can't install missing gem automatically, please install $gem manually."
fi
Expand Down

0 comments on commit ec7d14f

Please sign in to comment.