Power up with Rails scripts Part 1: Environment setup
testdouble.com·18h
Flag this post

The Set Up (You Need This)

Have you looked at your Rails ./bin directory lately? Perhaps you have a ./scripts directory as well, one your team uses to store custom scripts and avoid conflicts with Rails’ built-ins.

As a Test Double consultant, I see a ton of Rails apps. That gives me a broad perspective of the industry, or at least the portion of the industry who hires consultants like us.

That perspective includes lots of Rails scripts. For example:

  • Setting up a development environment from scratch
  • Abstracting some common gem or system library task
  • … and that one-off script for fixing that bug in production that everyone is afraid of deleting in case the problem rises from the dead 🧟‍♂️

Over the past few years, I’ve written some simple short scripts that my clients ha…

Similar Posts

Loading similar posts...