Replies: 1 comment 2 replies
-
That sounds like optional dependencies? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This came up with Puma and Rack, neither of which has a dependency on the other. But, Puma v5 (current version is 6) is not compatible with Rack v3.
Given that the gemspecs for both are queried when using bundler, it would be helpful if one could add version constraints for non-dependent gems to a gemspec, such that a warning could be shown to the user.
IOW, a warning informing them that the selected Puma version is incompatible with the selected Rack version.
Bundler could also error/fail/stop, which couldn't be overlooked...
Beta Was this translation helpful? Give feedback.
All reactions