Why is sudo: bundle command not found?

后端 未结 4 1384
逝去的感伤
逝去的感伤 2020-12-14 22:14

Why is command \"bundle\" not found when using sudo:

[root@desktop gitlab]# sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production
sudo: bundle: c         


        
4条回答
  •  忘掉有多难
    2020-12-14 22:37

    I had this issue I thought that my gitlab installed from source and I got same error. but after try Omnibus method for backup my issue solved with this command:

    sudo gitlab-rake gitlab:backup:create

提交回复
热议问题