Search code examples
rubyguard

Customize Ruby Guardfile per User


I am using guard and therefore I have configured my Guardfile with my host's IP address where notifications should be sent.

How can I do this customization outside of the Guardfile so that only I can see it, not the rest of my team members?


Solution

  • From the shared configurations page in the Guard wiki:

    If a .guard.rb is found in your home directory, it will be appended to the Guardfile in your current directory. This can be used for tasks you want guard to handle but other users probably don't.