Add command blacklist support to bundler plugin

This commit is contained in:
Kevin Bongart 2013-10-25 11:54:56 -04:00
parent c79e5a97a9
commit 03dc3a8463
1 changed files with 5 additions and 1 deletions

View File

@ -13,9 +13,13 @@ fi
eval "alias bi='bundle install --jobs=$cores_num'" eval "alias bi='bundle install --jobs=$cores_num'"
# The following is based on https://github.com/gma/bundler-exec # The following is based on https://github.com/gma/bundler-exec
bundled_commands=(annotate berks cap capify cucumber foodcritic foreman guard jekyll kitchen knife middleman nanoc rackup rainbows rake rspec ruby shotgun spec spin spork strainer tailor taps thin thor unicorn unicorn_rails puma) bundled_commands=(annotate berks cap capify cucumber foodcritic foreman guard jekyll kitchen knife middleman nanoc rackup rainbows rake rspec ruby shotgun spec spin spork strainer tailor taps thin thor unicorn unicorn_rails puma)
# Remove $UNBUNDLED_COMMANDS from the bundled_commands list
for cmd in $UNBUNDLED_COMMANDS; do
bundled_commands=(${bundled_commands#$cmd});
done
## Functions ## Functions
_bundler-installed() { _bundler-installed() {