Skip to content

Commit

Permalink
hardcode bundler version to install
Browse files Browse the repository at this point in the history
Installatio no longer worked; would fail with

#19 [15/21] RUN gem install bundler
#19 51.00 ERROR:  Error installing bundler:
#19 51.00 	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`
#19 51.00 	bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225.
#19 ERROR: process "/bin/sh -c gem install bundler" did not complete successfully: exit code: 1
------
 > [15/21] RUN gem install bundler:
51.00 ERROR:  Error installing bundler:
51.00 	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`
51.00 	bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.8.225.
------
Dockerfile:47
  • Loading branch information
tripleee committed Nov 20, 2024
1 parent e7676a1 commit 6615a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ COPY . .

ENV RUBYOPT="-KU -E utf-8:utf-8"
ENV PATH="${PATH}:/redis-git/src/redis-cli:/redis-git/src/redis-server"
RUN gem install bundler
RUN gem install bundler -v 2.4.22
RUN bundle update --bundler
RUN bundle install
RUN ./createdb
Expand Down

0 comments on commit 6615a63

Please sign in to comment.