It is possible to put the #!/usr/bin/env ruby at the top and run chmod +x myProgram.rb to run it from the terminal by doing something like ./myProgram.rb.
This requires the path to the .rb file. I am trying to run the program by just typing myProgram into a terminal.
$PATH(the usual place is /usr/local/bin).$HOME/binto the path if it exists. I normally symlink things into it.