2016-12-24 1 views
0

레일 응용 프로그램에 오류 윈도우, 루비를 구축 : 를 다음 로그는 다음과 같습니다트래비스 CI 실제로 3 트래비스 CI에 오류가

1 :

Gem::InstallError: rack requires Ruby version >= 2.2.2. 
Installing erubis 2.7.0 
An error occurred while installing rack (2.0.1), and Bundler cannot continue. 
Make sure that `gem install rack -v '2.0.1'` succeeds before bundling. 
The command "eval bundle install --jobs=3 --retry=3 --deployment" failed. Retrying, 2 of 3. 

나는 보석 랙 -v를 설치`설치 '2.0.1'하지만 도움이되지 않았습니다. 데이터는 마임 유형을

Gem::InstallError: rack requires Ruby version >= 2.2.2. 
Installing websocket-driver 0.6.4 
An error occurred while installing mime-types-data (3.2016.0521), and Bundler 
cannot continue. 
Make sure that `gem install mime-types-data -v '3.2016.0521'` succeeds before 
bundling. 

나는`설치 :

rvm: 
    - 2.2 

2 : 그것은

rvm: 
    - 2.2.2 

대신 그래서 또한 내 travis.yml 파일을 변경 -v '3.2016.0521'하지만 도움이되지 않았습니다.

3 :

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-2 do rvm gemset create ' first, or append '--create'. 
The command "rvm use rbx-2 --install --binary --fuzzy" failed and exited with 2 during . 

내 travis.yml :

language: ruby 
rvm: 
    - 2.2.2 
    - jruby 
    - rbx-2 
before_install: 
- gem update 
- gem --version 
before_script: 
    - psql -c 'create database listapp_test;' -U postgres 
addons: 
    postgresql: '9.3' 

내가 랙을 업데이트하려하지만 도움이되지 않았다. 루비 버전 : ruby ​​2.2.4.p230 ​​ 누구든지 문제를 해결하는 방법을 알고 있습니까?

+0

발생한 실제 오류에 대한 로그가 있습니까? –

답변

0

Bundler가 찾을 수없는 장소에 보석을 설치하는 것 같습니다. 자신이 갖고있는 문제점을 보여주는 빌드 로그 URL을 게시하면 훨씬 쉽습니다.

트래비스 CI는 https://github.com/rubinius/rubinius/issues/3717으로 인해 더 이상 Rubinius on Precise를 지원할 수 없습니다 (위의 3 번 문제). 대신 Trusty를 사용해보십시오.