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

Relax activesupport version constraint #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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)

@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
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