Skip to content

Commit 01d557a

Browse files
authored
Upgrade RubyGem and Bundler (#114)
## Description This updates the versions of RubyGem and Bundler to meet upcoming minimum requirements for SSI and Profiler features. Updated versions: - gem: 3.5.23 - bundler: 2.5.23 ## How to test clone repo and checkout this branch run this command to build containers and run Storedog ```bash docker compose -f docker-compose.dev.yml up -d ``` After Storedog is running, check the version of `gem` and `bundler` ```bash docker compose exec backend gem --version docker compose exec backend bundle --version ``` Confirm the versions
2 parents 327d338 + 843066f commit 01d557a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

services/backend/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ ENV PATH="${BUNDLE_BIN}:${PATH}"
4848

4949
COPY . .
5050

51+
# Upgrade RubyGems and Bundler
52+
# When upgrading RubyGems
53+
# * upgrade Bundler to match the new RubyGems version
54+
# * update "BUNDLED WITH" in Gemfile.lock to match the bundler version
55+
RUN gem update --system 3.5.23
56+
RUN gem install bundler -v 2.5.23
57+
5158
RUN bundle install || exit 1
5259
RUN npm install
5360
RUN npm run build

services/backend/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,4 +734,4 @@ RUBY VERSION
734734
ruby 3.1.7
735735

736736
BUNDLED WITH
737-
2.3.27
737+
2.5.23

0 commit comments

Comments
 (0)