diff --git a/libexec/rbenv-version-file-read b/libexec/rbenv-version-file-read index 5bd293de..a7b02c0d 100755 --- a/libexec/rbenv-version-file-read +++ b/libexec/rbenv-version-file-read @@ -12,7 +12,7 @@ if [ -e "$VERSION_FILE" ]; then echo "$version" break fi - done < "$VERSION_FILE" + done < <( cat "$VERSION_FILE" && echo ) else exit 1 fi