Moving environment inspector middleware to a new gem