sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
sudo: bundle: command not found
在修复该问题后,我得到了以下附加错误:
bundler: command not found: rake
sudo -u git -H /opt/gitlab/embedded/bin/bundle exec /opt/gitlab/bin/gitlab-rake gitlab:backup:create RAILS_ENV=production