tag:help.rubygems.org,2010-01-19:/discussions/questions/110-invalid-dependencies-in-previously-released-versionRubyGems.org: Discussion 2012-08-04T18:35:02Ztag:help.rubygems.org,2010-01-19:Comment/139871332012-02-25T19:14:20Z2012-08-04T18:27:27ZInvalid dependencies in previously released version<div><p>Let's say that you have already released few version of a gem
that have >= requirement on another gem (or you have forgotten
to mention the requirement in gemspec at all). It turns out that
your gem will never work with version X.Y or greater of that
another gem. The problem is that if I release a new version of my
gem and specify that it requires "another" to by < X.Y then
bundler will find my previously released version of gem to be
compatible with "another" X.Y. Is there anything I can do in such
situation ? Yank all previous versions and release them again with
new requirements ? I know I should have used "~>" in the first
place and that is my lesson. But what can I do now ?</p></div>Robert Pankoweckitag:help.rubygems.org,2010-01-19:Comment/139871332012-08-04T18:35:01Z2012-08-04T18:35:01ZInvalid dependencies in previously released version<div><p>Sorry, this comment was buried in our spam inbox.</p>
<p>Yanking is probably the safest bet here.</p></div>Nick Quaranto