From 6dfcadf003f74dfc8b380cb5aab16d49a475f034 Mon Sep 17 00:00:00 2001 From: Augustin Trancart Date: Sun, 17 May 2020 15:54:48 +0200 Subject: [PATCH] Fix aspect seeding --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 5e8ec38..4da125c 100755 --- a/scripts/install +++ b/scripts/install @@ -189,8 +189,8 @@ pushd $final_path/diaspora sudo -u $app /bin/bash --login << EOF RAILS_ENV=production bundle exec rails console << END user = User.build({username: '$admin', email: '$admin_email', password: '$admin_password', password_confirmation: '$admin_password' }) -user.seed_aspects user.save +user.seed_aspects Role.add_admin user.person END EOF