Make Spring & SimpleCov play nice
Want to achieve spring-ified bliss for your rails-rspec-guard setup? Read on.
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 . . .
Posted in: programmingrailsruby
Heroku to OpsWorks
The tale of a hosting migration that shaved 40% off response times
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 . . .
Posted in: hostingprogrammingrailsruby
or: how I learned to stop worrying and ditch gemsets for good
If you don't use gemsets and are just interested in my bundler flow, skip to the Bundler workflow section.
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 . . .
Posted in: ruby
lightweight ruby version switching ftw
rvm implode && brew install chruby && brew install ruby-install
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 . . .
Posted in: ruby