noosfero | plugins: fix dependency check when not called from $NOOSFERO_DIR

Antonio Terceiro gitlab at gitlab.com
Tue Mar 10 12:33:41 BRT 2015


Antonio Terceiro pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>

Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/706403fc264f783a6c24c47780eddc20cc409cfd">706403fc</a> by Antonio Terceiro
plugins: fix dependency check when not called from $NOOSFERO_DIR

- - - - -


Changes:

=====================================
script/noosfero-plugins
=====================================
--- a/script/noosfero-plugins
+++ b/script/noosfero-plugins
@@ -112,7 +112,7 @@ _enable(){
       dependencies_file="$source/dependencies.rb"
       if [ -e $source/Gemfile ]; then
         gemfile=$(mktemp --tmpdir=.)
-        cat Gemfile $source/Gemfile > $gemfile
+        cat $NOOSFERO_DIR/Gemfile $source/Gemfile > $gemfile
         if ! RUBYOPT='' BUNDLE_GEMFILE="$gemfile" bundle --local --quiet; then
           dependencies_ok=false
         fi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150310/db8085e9/attachment.html>


More information about the Noosfero-dev mailing list