From da117eeae2c94ae329c285bd124828fe97d54d6d Mon Sep 17 00:00:00 2001 From: Vsevolod Romashov <7@7vn.ru> Date: Fri, 2 Feb 2018 13:38:32 +0300 Subject: [PATCH] support new naming convention in Bundler --- plugins/bundler/bundler.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bundler/bundler.plugin.zsh b/plugins/bundler/bundler.plugin.zsh index 6b10b78d..9c423a64 100644 --- a/plugins/bundler/bundler.plugin.zsh +++ b/plugins/bundler/bundler.plugin.zsh @@ -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