This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new 6e8dbacf8a14 [SPARK-46425][INFRA] Pin the bundler version in CI
6e8dbacf8a14 is described below

commit 6e8dbacf8a1402878a2a4be295bbe78e7c78327e
Author: Hyukjin Kwon <gurwls...@apache.org>
AuthorDate: Fri Dec 15 17:52:46 2023 -0800

    [SPARK-46425][INFRA] Pin the bundler version in CI
    
    Currently documentation build is broken:
    
    https://github.com/apache/spark/actions/runs/7226413850/job/19691970695
    
    ```
    ...
    ERROR:  Error installing bundler:
            The last version of bundler (>= 0) to support your Ruby & RubyGems 
was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
            bundler requires Ruby version >= 3.0.0. The current ruby version is 
2.7.0.0.
    ```
    
    This PR uses the suggestion.
    
    To recover the CI.
    
    No, dev-only.
    
    CI in this PR verify it.
    
    No.
    
    Closes #44376 from HyukjinKwon/SPARK-46425.
    
    Authored-by: Hyukjin Kwon <gurwls...@apache.org>
    Signed-off-by: Hyukjin Kwon <gurwls...@apache.org>
    (cherry picked from commit d0da1172b7d87b68a8af8464c6486aa586324241)
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 .github/workflows/build_and_test.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/build_and_test.yml 
b/.github/workflows/build_and_test.yml
index f202a7d49c9a..32f6a44102bf 100644
--- a/.github/workflows/build_and_test.yml
+++ b/.github/workflows/build_and_test.yml
@@ -687,7 +687,7 @@ jobs:
         Rscript -e "install.packages(c('devtools', 'testthat', 'knitr', 
'rmarkdown', 'markdown', 'e1071', 'roxygen2', 'ggplot2', 'mvtnorm', 'statmod'), 
repos='https://cloud.r-project.org/')"
         Rscript -e "devtools::install_version('pkgdown', version='2.0.1', 
repos='https://cloud.r-project.org')"
         Rscript -e "devtools::install_version('preferably', version='0.4', 
repos='https://cloud.r-project.org')"
-        gem install bundler
+        gem install bundler -v 2.4.22
         cd docs
         bundle install
     - name: R linter


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to