I believe your whole file must be written in Ruby to use it. Same with Perl.
Both Ruby and Perl files must be chmod to at least 755 to execute!
Quote#!/usr/bin/rubyThat should be used to start a ruby file
Quote#!/usr/bin/perland that starts a perl file.
Both Ruby and Perl files must be chmod to at least 755 to execute!