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).

comments powered by Disqus

About Marko Anastasov

Rendered Text co-founder. Started with code, currently more focused on people and words. Foosball striker and entry-level cyclist.

Suggested Reads

Rails Testing Handbook

A new ebook on building test-driven Rails apps with RSpec and Cucumber.

At Rendered Text, we have a long history with Ruby on Rails. Checking the blog archive reminds me that we published first posts about working with Rails way back in 2009.

———

Rendered Text is a software company. For questions regarding Semaphore, please visit semaphoreci.com. Otherwise, feel free to get in touch any time by sending us an email.