Skip to content

bundler version out of date? #333

@LiNk-NY

Description

@LiNk-NY

Hi Lori, @lshep
I am getting this error message in the Dockerfile when running docker build -t bioconductor/bioconductor.org . :

=> ERROR [7/9] RUN gem install bundler                                                                                                                                                      25.7s
------                                                                                                                                                                                             
 > [7/9] RUN gem install bundler:                                                                                                                                                                  
25.23 ERROR:  Error installing bundler:                                                                                                                                                            
25.23 	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`
25.23 	bundler requires Ruby version >= 3.1.0. The current ruby version is 2.6.5.114.

Perhaps the Dockerfile should be modified to :

diff --git a/Dockerfile b/Dockerfile
index 2028a06b..d67bdc8b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,7 @@ WORKDIR /opt/bioconductor.org
 COPY . .
 
 ## Install bundle and dependencies
-RUN gem install bundler
+RUN gem install bundler -v 2.4.22
 RUN bundle install --jobs=4 && bundle clean --force
 
 ## Set up web server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions