Skip to content

Commit 90100fc

Browse files
committed
try ruby stuff
1 parent 00182a5 commit 90100fc

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/actions/setup-e2e-env/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,12 @@ runs:
282282
fi
283283
284284
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
285291
rbenv global "$RUBY_VERSION"
286292
# Reload rbenv
287293
eval "$(rbenv init -)"

0 commit comments

Comments
 (0)