support new naming convention in Bundler

This commit is contained in:
Vsevolod Romashov 2018-02-02 13:38:32 +03:00
parent 37c2d0ddd7
commit da117eeae2

View File

@ -79,7 +79,7 @@ _bundler-installed() {
_within-bundled-project() {
local check_dir="$PWD"
while [ "$check_dir" != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return
[ -f "$check_dir/Gemfile" -o -f "$check_dir/gems.rb" ] && return
check_dir="$(dirname $check_dir)"
done
false