0
我在特拉維斯CI實際上3個錯誤: 下面是日誌:特拉維斯CI生成錯誤的Windows和Ruby on Rails應用程序
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',但我沒有幫助。 此外,我改變了我的travis.yml文件,因此
rvm:
- 2.2.2
代替:
rvm:
- 2.2
2:
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.
我安裝了`MIME類型數據-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 ver:ruby 2.2.4.p230 有誰知道如何解決它?
你有關於發生的實際錯誤的任何日誌? –