Lion Server: Do not update RubyGems when running the Profile Manager or Wiki services

Due to dependencies on RubyGems that come preinstalled with OS X Lion, Profile Manager and Wiki services may not start properly if you do one of the following:

  • Update RubyGems to a newer version than the one that came preinstalled with Lion (such as sudo gem update --system).
  • Update one of the gems that came preinstalled with Lion (for example, sudo gem update rack).
  • Install a new gem which would cause one of the preinstalled gems to be updated (for example, sudo gem install rails).
This article has been archived and is no longer updated by Apple.

Do not update RubyGems or one of the preinstalled gems on a server running the Profile Manager or Wiki services. If you wish to deploy ruby projects, particularly Ruby on Rails projects, you should use bundler to isolate the gems you require in your project so as not to touch the preinstalled system gems. See for details on using bundler to isolate gems for your projects.

Important: Mention of third-party websites and products is for informational purposes only and constitutes neither an endorsement nor a recommendation. Apple assumes no responsibility with regard to the selection, performance or use of information or products found at third-party websites. Apple provides this only as a convenience to our users. Apple has not tested the information found on these sites and makes no representations regarding its accuracy or reliability. There are risks inherent in the use of any information or products found on the Internet, and Apple assumes no responsibility in this regard. Please understand that a third-party site is independent from Apple and that Apple has no control over the content on that website. Please contact the vendor for additional information.
Published Date: