sudo: apt-get: command not found

I am really struggling to get my head around terminal i keep getting commands not found what am i doing wrong?

I am trying to install ruby on the mac using this tutorial. http://www.ruby-lang.org/en/downloads/

but i keep getting the error sudo: apt-get: command not found

Ben-Easts-iMac:~ Ben$ sudo
usage: sudo [-n] -h | -K | -k | -L | -V | -v
usage: sudo -l[l] [-AnS] [-g groupname|#gid] [-U username] [-u username|#uid]
            [-g groupname|#gid] [command]
usage: sudo [-AbEHnPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
            username|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AnS] [-C fd] [-g groupname|#gid] [-p prompt] [-u
            username|#uid] file ...
Ben-Easts-iMac:~ Ben$ sudo apt-get install ruby1.9.1-full
Password:
sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo apt-get install ruby-full
sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo apt-get install ruby-full
sudo: apt-get: command not found
Ben-Easts-iMac:~ Ben$ sudo find / -name "apt-get" -print
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
sudo which apt-get

Can some please help me or give me an option to try to debug.

thanks

Leave a Comment