-
-
Notifications
You must be signed in to change notification settings - Fork 107
-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
conflicts with default #145
Comments
I think I found a hacky way to do it, with this in my gemspec:
|
I tried again without things in gemspec dependencies, just literally a dependency specified in the Gemfile, and then again (with different requirements) in an appraisal. Now I got eg:
Is the statement in the docs simply no longer true? "If something is specified in both the Gemfile and an appraisal, the version from the appraisal takes precedence." Is this supposed to be true? How do I get it to work? |
Oh huh, that's interesting. Have you been able to come up with a better solution since then? Part of me is wondering if this is a specific |
I'm not totally sure how I resolved that in the 16 months since reported; I don't recall that coming up again, I'm not sure if it's because the problem doesn't always happen (depending on bundler/rubygems versions?) or I've avoided ever double-specifying. I can think of situations where it would be hard to avoid double-specifying... I do think its' a use case that would ideally be supported. I'm not sure what's going on for me, I had forgotten about this. Perhaps I am still working around with the workaround mentioned above, guarding a Gemfile with |
Yeah, totally. I'm going to close this for now, but if you're struggling with it again, please reopen. |
I have a Rails engine gem, whose gemspec says
"~> 5.2.0"
-- since that's what it actually works with.But I'd like to run tests against rails master too, so I can get early warning if something in master (for eventual Rails 5) breaks it. Probably as an "allowed failure" in travis.
This statement from the docs let me think maybe it would work:
But it in fact, it doesn't:
(Or, if I don't explicitly put
">= 6.0.0.alpha"
in my Appraisals file, then:Any ideas/advice for how to accomplish this?
The text was updated successfully, but these errors were encountered: