So, I’m there with my Rails app, a lot of gems are outdated (like ~50% of them) and of course everybody on the internet is like: “Just run
bundle install you fool”. Except that running
bundle install updates every single outdated gems and breaks my build in many ways. And I’m not the kind of person who want to keep outdated fixed versions around.
So, why not just update the gems one by one:
- Take the first listed, update that:
bundle update great-gem
- Make sure everything is working with:
rspec spec/featuresfor instance
- If it’s all good, commit that gem update
- Otherwise skip this gem and go to the next one
Sounds simple right? And yes it works very well.
Then this happens:
So, let’s do something even better, an open-source gem ;)