The system path to the Ruby interpreter is:
/usr/local/bin/ruby
Your Ruby scripts need to begin with this line:
#!/usr/local/bin/ruby