Is there any "official" way to organize one-off scripts?

We use script/migrate/* at Basecamp. It’s just a basic script that starts with:

require_relative "../../config/environment"

We also have script/benchmark/* and others like that. You could well have script/cleanup/* or whatever.

7 Likes