Merge commit '5c1094a' from #529

Closes #529
This commit is contained in:
Mislav Marohnić 2015-10-10 19:17:18 +02:00
commit 51a1ee06e4

View file

@ -6,6 +6,7 @@ set -e
find_local_version_file() {
local root="$1"
while true; do
[[ "$root" =~ ^//[^/]*$ ]] && break
if [ -e "${root}/.ruby-version" ]; then
echo "${root}/.ruby-version"
exit