Commit 6b6f2b6d authored by Vsevolod Romashov's avatar Vsevolod Romashov Committed by Marc Cornellà
Browse files

bundler: support new file naming convention (#6594)

parent efee47b5
...@@ -82,7 +82,7 @@ _bundler-installed() { ...@@ -82,7 +82,7 @@ _bundler-installed() {
_within-bundled-project() { _within-bundled-project() {
local check_dir="$PWD" local check_dir="$PWD"
while [ "$check_dir" != "/" ]; do 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)" check_dir="$(dirname $check_dir)"
done done
false false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment