Skip to content

Commit 7daa269

Browse files
don't hard-code ruby version in pr buildspec
1 parent f388a77 commit 7daa269

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cicd/3-app/javabuilder/pr-buildspec.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ phases:
77
python: 3.8
88
commands:
99
- rbenv versions
10-
# downgrade from 2.7.6 or whatever runtime got installed
11-
- rbenv install 2.7.2
12-
- rbenv rehash
10+
# downgrade from default codebuild ruby runtime to the version we specify in .ruby-version
11+
- rbenv install -s
1312
- ruby -v
1413
- gem install bundler
1514
- pip install cfn-lint

0 commit comments

Comments
 (0)