Ruby on Mac OSX
In Mac, Ruby is preinstalled. You can open Terminal and input the followings to view the version of Ruby installed in your Mac
Update Ruby. You might want to update your Ruby, however there is no installer for Ruby like Windows. Instead, we can use MacPort.
Step 2. Open “Terminal” and input command:
Step 3. MacPort should be started after inputting your password, then input command:
It is easy, isn’t it? You can check what you have installed, you can input this command in MacPort: