Add erb dependency where it's needed