0
我試圖部署我們的應用Heroku
我們設置在.gitlab-ci.yml
看起來像Gitlab:未找到寶石
staging_heroku:
stage: deploy
script:
- git remote add heroku https://heroku:[email protected]/staging-myapp.git
- git push -f heroku master
這就是我們在日誌中看到
Cloning repository...
Cloning into '/builds/org/project'...
Checking out 340111af as dev/feature1...
Skipping Git submodules setup
Downloading artifacts for maven-build (17234382)...
Downloading artifacts from coordinator... ok id=17234382 responseStatus=200 OK token=2YSHdANA
/bin/sh: eval: line 46: apt-get: not found
$ apt-get update -yqqq
ERROR: Job failed: exit code 127
這些選手甚至不有apt-get
,所以我不能安裝gem
。
我甚至試過git
命令,但即使這樣也沒有找到。有人可以幫忙嗎?