2014-05-10 1 views
3

나는 보석을 쓰고 있으며 Ruby, JRuby 및 Rubinius를 대상으로합니다. Travis CI를 사용하여 내 라이브러리를 구축하고 있습니다. 루비와 JRuby를 목표로 삼을 때 내 보석은 올바르게 빌드되지만 Rubinius를 타겟팅 할 때는 제대로 작동하지 않습니다.rbx 테스트가 "요청 된 바이너리 설치로 실패하지만 다운로드 할 수있는 루비가 없습니다"

language: ruby 
cache: bundler 

gemfile: 
    - gemfiles/Gemfile.travis 
rvm: 
    - 2.0.0 
    - 1.9.3 
    - jruby-19mode 
    - rbx 

gemfiles/Gemfile.travis :

여기
Using worker: worker-linux-2-2.bb.travis-ci.org:travis-linux-13 
git.1 
$ git clone --depth=50 --branch=master git://github.com/maxgale/actor.git maxgale/actor 
Cloning into 'maxgale/actor'... 
remote: Counting objects: 74, done. 
remote: Compressing objects: 100% (48/48), done. 
remote: Total 74 (delta 29), reused 64 (delta 22) 
Receiving objects: 100% (74/74), 12.06 KiB | 0 bytes/s, done. 
Resolving deltas: 100% (29/29), done. 
Checking connectivity... done. 

$ cd maxgale/actor 
git.3 
$ git checkout -qf f83f26d85f69e9c2965a4faa2065dd37ac789c36 
$ rvm use rbx --install --binary --fuzzy 
rbx is not installed - installing. 
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 rbx do rvm gemset create ' first, or append '--create'. 
The command "rvm use rbx --install --binary --fuzzy" failed and exited with 2 during setup. 

Your build has been stopped. 

.travis.yml 파일 다음은 오류입니다

platforms :rbx do 
    gem 'rubysl', '~> 2.0' 
end 

eval_gemfile File.expand_path('../../Gemfile', __FILE__) 

내 정상 Gemfile :

source 'https://rubygems.org' 

gemspec path: File.expand_path('../', __FILE__) 

답변

5

rbx 대신 rbx-2을 타겟팅하여이 문제를 해결할 수있었습니다. 내 .travis.yml은 다음과 같이 보입니다.

language: ruby 
cache: bundler 

gemfile: 
    - gemfiles/Gemfile.travis 
rvm: 
    - 2.0.0 
    - 1.9.3 
    - jruby-19mode 
    - rbx-2 
관련 문제