Run through rvm if rvm is present

For Mac users with default RailsInstaller setup.
Merge branch 'master' into C1_mnzaki_commit_hooks
Update pre-commit Gem.

One more evil update.
Merge pull request #119 from DevYah/C1_mnzaki_commit_hooks

Fix pre-commit checks for Mac OS users.