I don't think this is very elegant. It requires the gem to be installed in the first place (aside from the bundler install). Also it's often not clear what the path is to the current version of the gem. 

Could we pipe the shell script to the command line (think I've seen this done before)?