Grep has to look at the rbenvrc path

If the path is not default, the grep won't work
Using the variable solves this problem