Skip to content

Commit 1a39885

Browse files
feat: installing ruby version from .ruby-version
1 parent a1573a9 commit 1a39885

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ jobs:
5050
- checkout
5151
- attach_project
5252

53+
# Use Ruby version from .ruby-version file
54+
- run:
55+
name: Set Ruby Version
56+
command: |
57+
RUBY_VERSION=$(cat .ruby-version)
58+
rvm install $RUBY_VERSION
59+
rvm use $RUBY_VERSION
60+
gem install bundler
61+
5362
- run:
5463
name: Install dependencies
5564
command: |

0 commit comments

Comments
 (0)