代码之家  ›  专栏  ›  技术社区  ›  RGe

Gitlab导出:未找到bundle和rake

  •  0
  • RGe  · 技术社区  · 6 年前

    sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
    

    sudo: bundle: command not found
    

    在修复该问题后,我得到了以下附加错误:

    bundler: command not found: rake
    
    1 回复  |  直到 6 年前
        1
  •  0
  •   RGe    6 年前

    sudo -u git -H /opt/gitlab/embedded/bin/bundle exec /opt/gitlab/bin/gitlab-rake gitlab:backup:create RAILS_ENV=production