【问题标题】:Gitlab export: bundle and rake not foundGitlab导出:找不到捆绑和耙
【发布时间】:2019-03-17 13:23:20
【问题描述】:

我已经从源代码(Ubuntu 16.04)安装了 GitLab。所以我尝试了以下命令来备份我的 gitlab 系统:

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

我收到以下错误:

sudo: bundle: command not found

修复后,我收到以下附加错误:

bundler: command not found: rake

【问题讨论】:

    标签: ubuntu export gitlab


    【解决方案1】:

    我使用以下命令使其工作:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-06-07
      • 2021-12-18
      • 2022-11-10
      • 1970-01-01
      • 2011-09-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多