Updating Ruby on Rails on Mac OS X Leopard 1

Posted by Ron Valente Tue, 08 Jan 2008 06:56:00 GMT

Introduction

The purpose of this post is to quickly and efficiently update you Ruby on Rails stack on Mac OS X Leopard.

Requirements

Caution: Before this procedure is start you must have a cursory knowledge of using the Terminal in Mac OS X.

  • Fully Patched Install of Mac OS X Leopard
  • Apple Developer Tools

Procedure

  1. Open Terminal

  2. Run the following

    sudo gem update –system

  3. Run the following command to update all your installed gems to the latest version

    sudo gem update

  4. That is it!

Note: All the previously installed gems will stay installed as a backup but ruby will use the latest gems that are installed on the system.

Trackbacks

Use the following link to trackback from your own site:
http://www.sysadminschronicles.com/trackbacks?article_id=ruby_on_rails_update_procedure&day=07&month=01&year=2008

Comments

Leave a comment

  1. marcel 2 months later:

    maybe a typo, i us “sudo gem update –system”

Comments