7L7W: Installing Ruby on Mac OS X Mavericks

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:

mx3A581

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:

mx3D7C2

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!

Posted in 7L7W, Professional Development, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives
Categories

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 4 other followers

%d bloggers like this: