Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Install OpenProject gems before anonymizing the database

Christophe Bliard12725af51dff
diff --git a/script/anonymize-sql-dump b/script/anonymize-sql-dump
index 7ae83bbbdc0..3706eefc1ef 100755
--- a/script/anonymize-sql-dump
+++ b/script/anonymize-sql-dump
@@ -45,6 +45,14 @@ fi
+echo_header "INSTALLING OpenProject DEPENDENCIES"
+
+cd "$OPENPROJECT_DEV_DIR"
+bundle check || bundle install
+cd -
+
+
+
echo_header "IMPORTING DUMP FILE $DUMPFILE"
dropdb --if-exists tmp