commit
51a1ee06e4
@ -6,6 +6,7 @@ set -e
|
|||||||
find_local_version_file() {
|
find_local_version_file() {
|
||||||
local root="$1"
|
local root="$1"
|
||||||
while true; do
|
while true; do
|
||||||
|
[[ "$root" =~ ^//[^/]*$ ]] && break
|
||||||
if [ -e "${root}/.ruby-version" ]; then
|
if [ -e "${root}/.ruby-version" ]; then
|
||||||
echo "${root}/.ruby-version"
|
echo "${root}/.ruby-version"
|
||||||
exit
|
exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user