Updating ruby windows

This is especially important if Simple Cov found gaps in your test coverage.

If you notice new warning (or failures) that weren’t revealed in your existing tests, do your best to add coverage now.

Ruby releases throughout the year also provide important security upgrades to the language, which trickle up to your applications and the people who use them.

updating ruby windows-90

Other times, these changes result in performance gains and overall reliability.

Isn’t it great when a little upgrading work can make your Rails app faster, or when a new feature to the language simplifies a formerly complex approach to a simple line or two of code?

That provides time for bug fixes to that release, as well as gem authors to make any necessary updates necessary to support a newer Ruby.

A word of advice: Don’t upgrade Ruby versions the same time as a Rails version upgrade!

I’ve had decent luck upgrading multiple versions at once–for example, from Ruby 2.1 to Ruby 2.4, but other attempts to do this have caused me problems, like going from Ruby 1.8 to 2.0.

When in doubt, break the upgrade into smaller chunks.

If you can, get your Ruby upgraded before that window of support expires.

Even on conservative projects, I’m comfortable upgrading to a given version of Ruby about a year after its initial release.

Try to fill in the gaps, or at least manually test those areas a little more than usual.

Tags: , ,