Skip to content

v2.2.0 is asking for activesupport < 6.0 with ruby 2.7+ #1723

@andrehjr

Description

@andrehjr

Hi,

There's a conditional on the gemspec to specify the requirements for activesupport which does not seem to be working.
https://github.com/gooddata/gooddata-ruby/blob/master/gooddata.gemspec#L57-L61

I think that will only work when you build gem locally and gem push?

# frozen_string_literal: true

require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"

  ruby '2.7.2'

  gem "rails", "~> 6.0"
  gem "gooddata", "~> 2.1.15"
end

Will result in:

/Users/andrehjr/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.3/lib/bundler/resolver.rb:59:in `rescue in start': Bundler could not find compatible versions for gem "activesupport": (Bundler::VersionConflict)
  In Gemfile:
    activesupport (~> 6.0) x86_64-darwin-19

    gooddata (~> 2.1.15) x86_64-darwin-19 was resolved to 2.1.15, which depends on
      activesupport (< 6.0, >= 5.2.4.3)

The requirements for each version on rubygems changed over time.

https://rubygems.org/gems/gooddata/versions/2.1.8
activesupport > 4.2.9, < 6.1

https://rubygems.org/gems/gooddata/versions/2.1.10
activesupport >= 5.2.4.3, < 6.0

https://rubygems.org/gems/gooddata/versions/2.1.15
activesupport >= 5.2.4.3, < 6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions