Over the years I’ve noticed a common mistake where developers do some refactoring to remove duplication and make their Rake tasks readable, but end up causing some unintended side-effects. Let’s take a look at what’s going on, and how we can use a built-in feature of Rake to fix the problem. Rake Rake is a general purpose make-like task runner for Ruby. Almost all Ruby projects use it as a task ru
![Don't Step on a Rake, Use Rake::DSL | Super Good Software](https://cdn-ak-scissors.b.st-hatena.com/image/square/f915cdb0a70fe7b9e798e04f5527911f51e511c7/height=288;version=1;width=512/https%3A%2F%2Fsupergood.software%2Fstatic%2Flogo.529033de.png)