Skip to content

Commit

Permalink
Do not show error when bundle or npm is not istalled.
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Mar 1, 2013
1 parent 955f971 commit 2b36c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pull
Expand Up @@ -37,13 +37,13 @@ fi
git remote prune $remote >/dev/null 2>&1 &

# Bundle em if you got em!
if which bundle >/dev/null && [ -f Gemfile ]; then
if which bundle >/dev/null 2>&1 && [ -f Gemfile ]; then
echo "* Bundling gems..."
bundle check >/dev/null 2>&1 || bundle install
fi

# Install node.js/npm packages
if which npm >/dev/null && [ -f package.json ]; then
if which npm >/dev/null 2>&1 && [ -f package.json ]; then
echo "* Installing npm packages..."
npm install
fi
Expand Down

0 comments on commit 2b36c0f

Please sign in to comment.