reset ruby gemset when leaving a directory