Skip to content

Conversation

@mlarraz
Copy link

@mlarraz mlarraz commented Apr 10, 2019

Right now this prevents installing any patch releases of Rails 5.2.

Given the Gemfile:

source 'https://rubygems.org'

gem 'flip', github: 'pda/flip'
gem 'activesupport', '~> 5.2.3'

Running bundle install gives:

Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    activesupport (~> 5.2.3)

    flip was resolved to 1.1.1, which depends on
      activesupport (>= 4.0, <= 5.2)

s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_dependency("activesupport", ">= 4.0", "<= 5.2")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

activesupport uses good deprecation and consistent migration paths for end users. Gems should typically avoid upper bounding on widely shared and well tested dependencies, unless there are known incompatibilities.

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.

2 participants