Use rvm ruby for the auto_gem after install hook

Fixes issue #1551 by using rvm specified ruby instead of the system ruby for getting `sitelibdir`