Skip to content

Commit

Permalink
set bundler version to be comptatible with ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Jan 11, 2024
1 parent e716a6d commit 9c572ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ COPY Gemfile* /srv/ontoportal/ontologies_linked_data/

WORKDIR /srv/ontoportal/ontologies_linked_data

# set rubygem and bundler to the last version supported by ruby 2.7
# remove version after ruby v3 upgrade
RUN gem update --system '3.4.22'
RUN gem install bundler -v 2.4.22
RUN gem update --system
RUN gem install bundler
ENV BUNDLE_PATH=/srv/ontoportal/bundle
Expand Down

0 comments on commit 9c572ad

Please sign in to comment.