gpt4 book ai didi

ruby - Travis 构建失败 : Ruby ruby-2. 2.5 未安装

转载 作者:数据小太阳 更新时间:2023-10-29 06:41:52 27 4
gpt4 key购买 nike

我的 travis 构建突然开始失败(在 before_deploydeploy 之间):

Ruby ruby-2.2.5 is not installed.

The command "rvm 2.2.5 --fuzzy do ruby -S gem install dpl" failed and exited with 2 during .

想法如何解决这个问题?

.travis.yaml

before_deploy:
- export PATH=$PATH:${CLOUD_SDK_PATH}/bin
- openssl aes-256-cbc -K $encrypted_c09a72752447_key -iv $encrypted_c09a72752447_iv -in contrib/gae/secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar

deploy:

- provider: script
skip_cleanup: true
script: fab deploy:target='DEV',ci=True
on: develop

最佳答案

我也刚打了这个。作为解决方法,您可以显式安装 ruby​​ 2.2.5,将安装命令添加到我的 before_install 步骤对我有用:

before_install:
- rvm install 2.2.5

关于ruby - Travis 构建失败 : Ruby ruby-2. 2.5 未安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40344231/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com