support new naming convention in Bundler
This commit is contained in:
parent
37c2d0ddd7
commit
da117eeae2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user