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 with and without Spring. The Spring results will skip many files because of eager loading; SimpleCov doesn't . . .

Read More

October 23, 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 . . .

Read More

February 06, 2014

Bundle Everything

or: how I learned to stop worrying and ditch gemsets for good

tl;dr

If you don't use gemsets and are just interested in my bundler flow, skip to the Bundler workflow section.

Background

In my previous post about switching from rvm to ruby-install and chruby, I mentioned that my primary motivation for switching away from rvm is runaway gemset disk usage:

$ rvm . . .

Read More

Posted in: ruby

January 14, 2014

rvm implode

lightweight ruby version switching ftw

tl;dr

rvm implode && brew install chruby && brew install ruby-install

Intro

As a ruby developer, I grew to love rvm. It does so much it seems like magic ... in fact, it may actually be magic. But after a multi-year love affair, its flaws became apparent.

$ rvm disk-usage gemsets
Gemsets . . .

Read More

Posted in: ruby

November 23, 2013

Archive

This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!