Permalink
Browse files

do not reinstall nanoc if it is already installed.

  • Loading branch information...
1 parent 54d52cf commit 7ef54a9233356bb7752f9269b0ce419e037a88b3 @wayneeseguin wayneeseguin committed Apr 11, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 config/deploy/before_release
@@ -4,7 +4,9 @@ source "$HOME/.rvm/environments/default"
cd "$HOME/current/"
-gem install --no-rdoc --no-ri haml compass nanoc
+if ! command -v nanoc
+then gem install --no-rdoc --no-ri haml compass nanoc
+fi
export LC_ALL=en_US.UTF-8
nanoc co --verbose

0 comments on commit 7ef54a9

Please sign in to comment.