About

BrownBox dev is a Ruby development shop with over a decade of experience building and maintaining production web applications.

Whether you need a new system built from scratch, an existing codebase extended, or an aging application brought back to health - it gets done. And it gets done in a way that won't haunt you a year later.

Equally at home in Rails or any other Ruby stack. Remote-first, based in Sweden, working with clients across Europe and beyond.

Open Source

We maintain several open-source Ruby gems, built out of real project needs and kept in active use:

RABARBER

GitHub stars

Simple yet flexible role-based authorization for Ruby on Rails with comprehensive role management and multi-tenancy support.


VERI

GitHub stars

Minimalistic cookie-based authentication for Ruby on Rails with granular session management, user impersonation, and support for multi-tenancy.


GREPFRUIT

GitHub stars

Fast parallel regex search across files powered by Ruby Ractors, available as a programmatic API and CLI.


KREDS

GitHub stars

Rails credentials access with blank value detection and clear human-readable error messages.

Blog

← Back to articles

Grepfruit – A Ruby Gem for Searching Regex Patterns in Files

March 7, 2025

Introducing a New Ruby Gem: Grepfruit - Search Regex Patterns in Files.

Grepfruit is a Ruby gem for searching text patterns in files with colorized output, making the process more user-friendly than standard tools like grep. It offers options to exclude files or directories, truncate output, and include hidden files. Originally created for CI/CD pipelines to search for TODO comments in Rails apps, it's flexible for a wide range of use cases.

Check it out here: https://github.com/enjaku4/grepfruit

Contact