How to Uninstall Ruby 1.8.7 With MacPorts

How to Uninstall Ruby 1.8.7 With MacPorts thumbnail
MacPorts provides open-source software to Mac users.

MacPorts provides a free set of command-line utilities for automatically downloading, compiling and installing open-source software on Mac OS X. It also includes commands for uninstalling installed software, including the Ruby 1.8.7 programming language. You can also have MacPorts automatically uninstall Ruby’s dependencies, which are software programs and libraries that Ruby requires on your system but are no longer needed by any installed programs.

Instructions

    • 1

      Open a Terminal from the Finder. Click the “Finder” icon on the dock at the bottom of your screen, select “Applications” at the left side of the Finder window, double-click the “Utilities” folder and double-click the “Terminal” icon.

    • 2

      Type “sudo port uninstall ruby” into the terminal window and press “Enter.” Type “sudo port uninstall ruby ‑‑follow‑dependencies” instead if you also want to uninstall unneeded dependencies.

    • 3

      Type your password at the password prompt and press “Enter.” MacPorts automatically uninstalls Ruby.

Tips & Warnings

  • You can upgrade to a new version of Ruby without installing version 1.8.7 if one is available. Use the “sudo port selfupdate” command to check for new versions, then use the “sudo port upgrade ruby” command to upgrade Ruby to a new version, if one is available. You can also use the “sudo port upgrade outdated” command to upgrade all outdated MacPorts software.

Related Searches:

References

Resources

  • Photo Credit Brian Kersey/Getty Images News/Getty Images

Comments

Related Ads

Featured