Skip to content

Commit cba3899

Browse files
committed
Make CircleCI read Ruby version from .ruby-version file
One source of truth!
1 parent 01a5a1a commit cba3899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ commands:
3838
echo "Manually added `/usr/local/bin` to the $PATH:"
3939
echo $PATH
4040
fi
41-
chruby ruby-2.7.4
41+
chruby ruby-$(cat .ruby-version)
4242
gem install bundler
4343
4444
# Add support for fetching SPM packages from GitHub

0 commit comments

Comments
 (0)