Add executable parameter to find gem binary in gem module

This is especially needed with rvm where gem binary can be in unusual locations
Merge pull request #4509 from mremond/gem_executable

Add executable parameter to find gem binary in gem module