Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ruby-on-rails/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails Travis CI生成错误Windows、Ruby on rails应用程序_Ruby On Rails_Travis Ci - Fatal编程技术网

Ruby on rails Travis CI生成错误Windows、Ruby on rails应用程序

Ruby on rails Travis CI生成错误Windows、Ruby on rails应用程序,ruby-on-rails,travis-ci,Ruby On Rails,Travis Ci,实际上,我在Travis CI中有3个错误: 以下是日志: 1: 我安装了'gem install rack-v'2.0.1',但没有提供帮助。 我还更改了我的travis.yml文件 而不是: rvm: - 2.2 2: 我安装了'mime types data-v'3.2016.0521',但没有提供帮助 3: 我的travis.yml: language: ruby rvm: - 2.2.2 - jruby - rbx-2 before_install: - gem

实际上,我在Travis CI中有3个错误: 以下是日志:

1:

我安装了'gem install rack-v'2.0.1',但没有提供帮助。 我还更改了我的travis.yml文件

而不是:

rvm:
  - 2.2
2:

我安装了'mime types data-v'3.2016.0521',但没有提供帮助

3:

我的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版本:Ruby 2.2.4.p230
有人知道如何修复它吗?

听起来您正在Bundler找不到的地方安装gem。如果您发布显示问题的构建日志URL,这会容易得多


请注意,由于以下原因,Travis CI无法再支持Rubinius的精准(上文第3期)。尝试改用Trusty。

您是否有关于实际发生错误的日志?
rvm:
  - 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.
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 .
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'