Travis CI 找不到 2.1.0 的二进制文件

Posted

技术标签:

【中文标题】Travis CI 找不到 2.1.0 的二进制文件【英文标题】:Travis CI No Binary for 2.1.0 Found 【发布时间】:2014-06-17 20:09:23 【问题描述】:

我刚刚更新了一个 gem 以使用 Ruby 2.1.0 运行它的测试,但 Travis 上似乎没有二进制文件。我一直在互联网上四处寻找,找不到任何确定的东西。

这是构建的链接:https://travis-ci.org/Ahsizara/cached_resource/jobs/24171298

这是确切的输出:

Using worker: worker-linux-6-1.bb.travis-ci.org:travis-linux-16
Applying updates
git.1
$ git clone --depth=50 --branch=master git://github.com/Ahsizara/cached_resource.git Ahsizara/cached_resource
Cloning into 'Ahsizara/cached_resource'...
remote: Counting objects: 358, done.
remote: Compressing objects: 100% (206/206), done.
remote: Total 358 (delta 151), reused 337 (delta 133)
Receiving objects: 100% (358/358), 53.19 KiB | 0 bytes/s, done.
Resolving deltas: 100% (151/151), done.
Checking connectivity... done.
$ cd Ahsizara/cached_resource
git.3
$ git checkout -qf 30f2ddae11a4bcdb4640547041fd6531dc7679a4
$ rvm use 2.1.0 --install --binary --fuzzy
/home/travis/.rvm/scripts/functions/selector_parse: line 18: __list_remote_ruby_for: command not found
2.1.0 is not installed - installing.
/home/travis/.rvm/scripts/functions/selector_parse: line 18: __list_remote_ruby_for: command not found
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm 2.1.0 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.1.0 --install --binary --fuzzy" failed and exited with 2 during setup.
Your build has been stopped.`

【问题讨论】:

【参考方案1】:

这个问题正在 travis-ci github 问题上进行讨论。见issue #2220。

【讨论】:

以上是关于Travis CI 找不到 2.1.0 的二进制文件的主要内容,如果未能解决你的问题,请参考以下文章

在travis CI上运行Makefile时找不到gcc命令

Travis CI - 无法查询测试包中的测试用例列表:找不到测试包

Travis CI 问题:在提到的工作区中找不到指定的方案

在 vuepress-Travis CI 构建期间找不到 package.json 文件时出错

Travis:xcodebuild:错误:找不到与提供的目标说明符匹配的目标

[travis-ci]自动集成测试