Mac OS X

Good Morning, Ruby

Create a file called goodmorning.rb and paste the following into it:

#!/usr/bin/env ruby
puts 'Good Morning'

Make the file executable for your user. Then run the file (let’s just say it’s on the desktop of a user named admin):

/Users/admin/Desktop/goodmorning.rb

That’s all for this morning…