Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI for 0.8.x for Rails 5/master #2196

Merged
merged 11 commits into from
Nov 2, 2017
Merged

Fix CI for 0.8.x for Rails 5/master #2196

merged 11 commits into from
Nov 2, 2017

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Sep 19, 2017

Purpose

Changes

Caveats

Related GitHub issues

Additional helpful information

bf4 added 6 commits November 2, 2017 08:53
```
Bundler could not find compatible versions for gem "activemodel":

In Gemfile:
  activerecord was resolved to 5.2.0.alpha, which depends on activemodel (= 5.2.0.alpha)

  rails (>= 3.0) was resolved to 4.2.9, which depends on activemodel (= 4.2.9)
```
bf4 added 2 commits November 2, 2017 09:13
https://ci.appveyor.com/project/bf4/active-model-serializers/build/1144/job/rf3yi4b7vf8w4t6l

```
Build started
git clone -q --branch=fix_ci https://github.com/rails-api/active_model_serializers.git C:\projects\active-model-serializers
git checkout -qf 37d4bdc
Running Install scripts
SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
ruby --version
ruby 2.0.0p648 (2015-12-16) [i386-mingw32]
gem --version
2.6.13
gem install bundler
Successfully installed bundler-1.16.0
Parsing documentation for bundler-1.16.0
Installing ri documentation for bundler-1.16.0
1 gem installed
bundler --version
Bundler version 1.16.0
bundle platform
Your platform is: i386-mingw32
Your app has gems that work on these platforms:
* x86-mingw32
Your Gemfile does not specify a Ruby version requirement.
bundle install --path=vendor/bundle --retry=3 --jobs=3
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...........................................
Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    actionpack (~> 4.0.0) x86-mingw32
Could not find gem 'actionpack (~> 4.0.0)' in any of the sources.
Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    activemodel (~> 4.0.0) x86-mingw32
    active_model_serializers x86-mingw32 was resolved to 0.8.4, which depends on
      activemodel (>= 3.0) x86-mingw32
    activerecord (~> 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends on
      activemodel (= 4.0.0) x86-mingw32
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    activesupport (~> 4.0.0) x86-mingw32
    actionpack (~> 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends on
      activesupport (= 4.0.0) x86-mingw32
Bundler could not find compatible versions for gem "ruby":
  In Gemfile:
    ruby x86-mingw32
    pry x86-mingw32 was resolved to 0.11.2, which depends on
      ruby (>= 1.9.3) x86-mingw32
    rails (>= 3.0) x86-mingw32 was resolved to 5.1.4, which depends on
      ruby (>= 2.2.2) x86-mingw32
Bundler could not find compatible versions for gem "tzinfo":
  In Gemfile:
    actionpack (~> 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends on
activesupport (= 4.0.0) x86-mingw32 was resolved to 4.0.0, which depends
on
        tzinfo (~> 0.3.37) x86-mingw32
    tzinfo-data x86-mingw32 was resolved to 1.2017.3, which depends on
      tzinfo (>= 1.0.0) x86-mingw32
Command exited with code 6
```
bf4 added 2 commits November 2, 2017 10:09
https://travis-ci.org/rails-api/active_model_serializers/jobs/296314721

```
Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
jruby: warning: unknown property jruby.cext.enabled
2.7.0
32.06s$ bundle install --path=vendor/bundle --retry=3 --jobs=3
Picked up _JAVA_OPTIONS: -Xmx2048m -Xms512m
jruby: warning: unknown property jruby.cext.enabled
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies.........................................................................................................................
Bundler could not find compatible versions for gem "actionpack":
  In Gemfile:
    actionpack (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      actionpack (= 4.0.0) java
Bundler could not find compatible versions for gem "activemodel":
  In Gemfile:
    activemodel (~> 4.0.0) java
    active_model_serializers java was resolved to 0.8.4, which depends on
      activemodel (>= 3.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activerecord (= 4.0.0) java was resolved to 4.0.0, which depends on
        activemodel (= 4.0.0) java
Bundler could not find compatible versions for gem "activerecord":
  In Gemfile:
    activerecord (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activerecord (= 4.0.0) java
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    activesupport (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activesupport (= 4.0.0) java
Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    rails (~> 4.0.0) java
Could not find gem 'rails (~> 4.0.0)' in any of the sources.
Bundler could not find compatible versions for gem "railties":
  In Gemfile:
    railties (~> 4.0.0) java
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      railties (= 4.0.0) java
Bundler could not find compatible versions for gem "tzinfo":
  In Gemfile:
    rails (~> 4.0.0) java was resolved to 4.0.0, which depends on
      activesupport (= 4.0.0) java was resolved to 4.0.0, which depends on
        tzinfo (~> 0.3.37) java
    tzinfo-data java was resolved to 1.2017.3, which depends on
      tzinfo (>= 1.0.0) java
The command "bundle install --path=vendor/bundle --retry=3 --jobs=3" failed and exited with 6 during .
Your build has been stopped.
```
@bf4 bf4 changed the title Please help fix CI for 0.8.x for Rails 5/master. This work is incomplete Fix CI for 0.8.x for Rails 5/master Nov 2, 2017
@bf4 bf4 merged commit 0ef0f0c into 0-8-stable Nov 2, 2017
@bf4 bf4 deleted the fix_ci branch November 2, 2017 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant