As Bill Dueber has on his blog, you can call rvm in the shebang to select a Ruby version like this:
rvm
#!/usr/bin/env rvm 1.9 do ruby
We make sure that your target audience has the best possible experience with your digital product. You get:
Standard arguments to do apply, see $> rvm help do.
do
$> rvm help do