Permalink
Browse files

Add a small hook to run bundle install --local.

  • Loading branch information...
1 parent 3d7d331 commit b1c71fd4ce3cf770a326c7188153e8c47c2534cb @envygeeks envygeeks committed Jan 31, 2013
Showing with 10 additions and 0 deletions.
  1. +10 −0 hooks/after_cd_install_vendored_gems
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+# From @mpapis
+
+if
+ which bundle >/dev/null &&
+ [[ -d vendor/cache ]] &&
+ [[ -f Gemfile ]]
+then
+ bundle install --local
+fi

0 comments on commit b1c71fd

Please sign in to comment.