gpt4 book ai didi

ruby - 如何配置 travis CI build 以使用特定版本的 ruby​​gems?

转载 作者:数据小太阳 更新时间:2023-10-29 08:32:45 24 4
gpt4 key购买 nike

我有一个像这样的 .travis.yml 文件

language: ruby
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
gemfile:
- gemfiles/rails23.gemfile
- gemfiles/rails30.gemfile
- gemfiles/rails32.gemfile
- gemfiles/rails3x.gemfile

对于 gemfiles/rails23.gemfile,我想使用特定版本的 rubygems(在本例中是 2.0.0 之前的版本)。我该如何指定?

最佳答案

您尝试完成的事情不可能如 Closed Issue 所述.我引用:

"We use rubygems version that RVM provides and there are no plans to change that."

关于ruby - 如何配置 travis CI build 以使用特定版本的 ruby​​gems?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15806485/

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