Ruby is a popular programming language that comes installed on your Mac and can be accessed in the Terminal. You can use the Rub command line interpreter to run simple programs in a single line. You can also write more complex programs in a text file and run them. This gives you similar functionality to using BASIC on the Apple II.
Comments: 6 Responses to “MacMost Now 885: Using Ruby On Your Mac”
Bob
11 years ago
Thanks for the Ruby video. I missed the old Apple II access to Basic. Looks like Ruby interpreter might fill the void.
Squafdonoboles
11 years ago
This is great! I made a simple phone book which shows telephone numbers when typing in a name, or the person's name when typing in a phone number (for those times when you have that proverbial slip of paper with no name on it). Also good as an e-mail list.
Alexander
11 years ago
Interesting video Gary. I didn't know Ruby was built into the terminal. Before I sit down and learn Ruby, could you give me some examples of some practical uses where Ruby can be used? I have some C programming experience but have never encountered Ruby. What could I use it for?
Hard to answer your question -- it is a programming language like any other. It is like asking what can you use C for? It depends what environment you are programming in and what you are trying to do. I'd imagine that with the right tools, you could do anything. But it doesn't mean it is the best or right tool for a specific job. There are plenty of Ruby resources online for you to check out.
Alexander
11 years ago
Thanks for your thoughts Gary. I'll have a look around the net.
Glenn
11 years ago
Thanks for the video. I had no idea that it was built-in to the Mt. Lion terminal.
Thanks for the Ruby video. I missed the old Apple II access to Basic. Looks like Ruby interpreter might fill the void.
This is great! I made a simple phone book which shows telephone numbers when typing in a name, or the person's name when typing in a phone number (for those times when you have that proverbial slip of paper with no name on it). Also good as an e-mail list.
Interesting video Gary. I didn't know Ruby was built into the terminal. Before I sit down and learn Ruby, could you give me some examples of some practical uses where Ruby can be used? I have some C programming experience but have never encountered Ruby. What could I use it for?
Hard to answer your question -- it is a programming language like any other. It is like asking what can you use C for? It depends what environment you are programming in and what you are trying to do. I'd imagine that with the right tools, you could do anything. But it doesn't mean it is the best or right tool for a specific job. There are plenty of Ruby resources online for you to check out.
Thanks for your thoughts Gary. I'll have a look around the net.
Thanks for the video. I had no idea that it was built-in to the Mt. Lion terminal.