As discussed, I’m going through the 7 Languages in 7 Weeks (7L7W) book. The first week is about Ruby. As discussed also, even though most of these languages run on Windows (and I’m normally a Windows person), Mac seems to have the best support. So, I’m going to be doing these on my Mac Mini. Well, I’ll at least attempt them – this platform is not a strength for me.
The book says that Ruby is included with XCode (which is a free download in the App Store), and I do have that installed. However, I also wanted to see what the website said. On http://www.ruby-lang.org/en/downloads – is has a “curl” statement I can run on Mac OS X, Linux, or Unix. So, I did:
$ curl –L https://get.rvm.io | bash –s stable –ruby
And sure enough, that seemed to also work:
So, if you don’t want to install XCode, I guess you can install it this way too. And sure enough, I run “irb” and the simple starter examples from the book, it works as expected:
On an administrative note, I’m able to get these screenshots of the Mac (in Windows, using Live Writer) because I VNC into the Mac. As it turns out, http://www.uvnc.com/ (a free download) gives me FAR better performance than the “real” VNC application (http://www.realvnc.com/). With Real VNC, I would get like 2 frames per second and it was pretty much unusable. With UltraVNC, I can turn down the color depth and it’s very usable, and almost snappy!