we aren't including the vendor directory in the package we're building.
No issue #
fi
-bundle install --path vendor/bundle >"$STDOUT_IF_DEBUG"
+if [[ "$BUILD_BUNDLE_PACKAGES" != 0 ]]; then
+ bundle install --path vendor/bundle >"$STDOUT_IF_DEBUG"
+fi
/usr/bin/git rev-parse HEAD > git-commit.version
mkdir $WORKSPACE/apps/workbench/tmp
fi
+# We need to bundle to be ready even when we build a package without vendor directory
+# because asset compilation requires it.
bundle install --path vendor/bundle >"$STDOUT_IF_DEBUG"
/usr/bin/git rev-parse HEAD > git-commit.version