Face_square_small_large

Stefan Wrobel

Make Spring & SimpleCov play nice

Want to achieve spring-ified bliss for your rails-rspec-guard setup? Read on.

Background

Spring, the app preloader that's integrated with Rails 4.1+, and SimpleCov, everyone's favorite test coverage analyzer don't seem to play nice. The symptoms are differing results when you run rspec one-off versus when you run it using Spring. The Spring results will skip many files because of eager loading; SimpleCov . . .

Read More

October 23, 2014

How to make Vagrant performance not suck

Vagrant is an invaluable tool for creating a standardized virtual environments that make it incredibly easy to bring on new developers. Instead of requiring users to install Postgres, Redis, Elasticsearch, etc to be able to run and develop on your app, you just give them 3 simple steps (hopefully they don't even need the first two):

  1. . . .

Read More

Posted in: programming

February 10, 2014

Heroku to OpsWorks

The tale of a hosting migration that shaved 40% off response times

tl;dr

We had a positive experience moving Cult Cosmetics, a rails app, from Heroku to OpsWorks, with response times reduced by ~40%. If you're thinking about making this move, DO IT, but realize that it will probably require more time & effort than you expected.

Why ditch Heroku?

I'm sure everyone has their own reasons, but here . . .

Read More

February 06, 2014

Archive