Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #845 from tjwallace/bundler_plugin_fix

Fix bundler plugin for root level folders
  • Loading branch information...
commit ac910b85bd782ec7a033b67bab7be63785d063c2 2 parents 80257bd + 96265d2
@robbyrussell robbyrussell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  plugins/bundler/bundler.plugin.zsh
View
2  plugins/bundler/bundler.plugin.zsh
@@ -16,7 +16,7 @@ _bundler-installed() {
_within-bundled-project() {
local check_dir=$PWD
- while [ "$(dirname $check_dir)" != "/" ]; do
+ while [ $check_dir != "/" ]; do
[ -f "$check_dir/Gemfile" ] && return
check_dir="$(dirname $check_dir)"
done
Please sign in to comment.
Something went wrong with that request. Please try again.