The command which -a ruby will show you where Ruby is installed.
which-aruby
Time
# current timeTime.now # 2009-06-24 12:39:54 +0900# Return Time string with certain format - dd-Mon-yyyy HH:MM am/pm"%d-%b-%Y %-l:%M%P"# 27-Jan-2016 7:19am"%d/%m/%Y %-l:%M%P"# 27/01/2016 7:19am