Closed sk1talets closed 7 years ago
Or fixing the versions of the dependencies IS the right way?
Hm. Maybe we just drop support for those!
I also get warnings about that while building gem:
WARNING: open-ended dependency on rack (>= 0) is not recommended
if rack is semantically versioned, use:
add_runtime_dependency 'rack', '~> 0'
I don't know ruby well enough, but it sounds like it's better to have fixed versions for dependencies? Or should bundler automatically resolve such kind of problems?
Bundler automatically does this. It is good practice to look to a major (or minor) version, but not patch, so that any bug fixes can automatically be used. I think the best thing to do would be to use something like Appraisals and have different gem versions for the different rubies.
But I'm a bit strapped for time at the moment, so dropping support for the older rubies is probably the best option right now.
I'm not sure what is the right way to fix this: https://travis-ci.org/bethesque/pact-mock_service/builds/149614097 https://travis-ci.org/bethesque/pact-mock_service/builds/149669454