We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00182a5 commit 90100fcCopy full SHA for 90100fc
1 file changed
.github/actions/setup-e2e-env/action.yml
@@ -282,6 +282,12 @@ runs:
282
fi
283
284
echo "Setting Ruby version to: $RUBY_VERSION"
285
+ # Remove any local .ruby-version file that might conflict
286
+ if [ -f ".ruby-version" ]; then
287
+ echo "Found .ruby-version file, backing it up and updating it"
288
+ cp .ruby-version .ruby-version.backup
289
+ echo "$RUBY_VERSION" > .ruby-version
290
+ fi
291
rbenv global "$RUBY_VERSION"
292
# Reload rbenv
293
eval "$(rbenv init -)"
0 commit comments