avoid typing ruby each time on Unix/Linux systems by adding a shebang line (#!) at the top of your Ruby file.
#!/usr/local/bin/ruby # a nice greeting for Tom puts "Hello, Tom!"