Permalink
Browse files

Rakefile: ensure_postcommit_hook: wrapping rake in bundler

  • Loading branch information...
1 parent f0e698c commit 80fa1269739e8307ba5b2d0924c3d31df36f6521 @temujin9 temujin9 committed Feb 15, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -88,7 +88,7 @@ task :ensure_postcommit_hook do
for cookbook in $changes; do
if git diff --quiet master origin/testing -- cookbooks/$cookbook/VERSION; then
echo "INFO: changes found without VERSION, bumping version in $cookbook"
- rake $cookbook:version:bump
+ bundle exec rake $cookbook:version:bump
fi
done
eos

0 comments on commit 80fa126

Please sign in to comment.