According to the official docs it sounds like you just need to prefix your scripts like this:
#!/usr/bin/env ruby
And then do one of the following things to tell rbenv which version of Ruby to use:
excerpt: https://github.com/sstephenson/rbenv
  Choosing the Ruby Version
  
  When you execute a shim, rbenv determines which Ruby version to use by reading it from the following sources, in this order:
  
  
  - The - RBENV_VERSIONenvironment variable, if specified. You can use the- rbenvshell command to set this environment variable in your current shell session.
 
- The first - .ruby-versionfile found by searching the directory of the script you are executing and each of its parent directories until reaching the root of your filesystem.
 
- The first - .ruby-versionfile found by searching the current working directory and each of its parent directories until reaching the root of your filesystem. You can modify the- .ruby-versionfile in the current working directory with the- rbenvlocal command.
 
- The global - ~/.rbenv/versionfile. You can modify this file using the- rbenvglobal command. If the global version file is not present,- rbenvassumes you want to use the "system" Ruby—i.e. whatever version would be run if- rbenvweren't in your path.
 
You can then use this command to create a .ruby-version file in the directory along with the Ruby script.
$ rbenv local 1.9.3-p327