Marko Anastasov wrote this on March 14, 2012
Ruby 1.8 is history
This week I’ve migrated the last of the apps that we’re working on to Ruby 1.9.2.
The performance improvement is palpable, and the test suite shows:
- RSpec with 1.8: 234 seconds
- RSpec with 1.9: 79 seconds
- Cucumber with 1.8: 18m38s
- Cucumber with 1.9: 11m46s
Another thing is keeping up with gem updates. Cumulatively it actually takes much more time to adapt to them than to tweak the syntax of case
, way SHA1 algorithm is called, or add # encoding: UTF-8
at the top of a file after a few years. I’d like an automated approach but I don’t know a way (yet).