Start Updating ruby on leopard

Updating ruby on leopard

container=2106&container Type=14"; function toggle Featured() (function () )(); $j(document).ready(function () ); function reload() jive.i18Msgs({'mobile.create.changecomm.voiceover':'Change community','mobile.search.category.usertips':'"User Tips"','global.email_address':'Email Address','mobile.levels.level8.notification':'You just leveled up! ','mobile.levels.level9.notification':'You just leveled up! See it on your profile.','mobile.apple.correct':'Solved question','register.notification':'Hello , thanks for registering with us!

On the Snow Leopard DVD, under “Optional Installs”, install “Xcode.mpkg”. $ sudo gem install -r passenger $ sudo passenger-install-apache2-module Press Enter when prompted. However, it’s not that simple, the mysql gem is a bit of an exception.

Passenger will compile and install its Apache module. $ cd /etc/apache2 Open in your text editor (if you use Text Mate, try running mate from the command line) and look for a line like “Load Module passenger_module” and some lines following that have “passenger” in them too. If you don’t see them them, move your cursor to the end of the file. Under Snow Leopard when you do a gem install for a C extension it tries to build the extension for two architectures: i386 (32-bit) as well as x86_64 (64-bit).

Lets say your old PHP apps are available at and the Rails app, myrailsapp, will be at Edit your /etc/apache2/sites-available/default file and add this to the end of it: and you're set, go to and you should see the rails index...click on the link "About your rails environment" and if you don't see a 404 or 500 error..you're set (you should see either a rails error, or a rails message or something like that).

Instiki is a wiki clone so pretty and easy to set up, you'll wonder if it’s really a wiki.

This should not be a problem since Rails has been running on Ruby 1.8.7 for a long time and Rails 3 will require Ruby 1.8.7 and prefer Ruby 1.9.2. Choose to replace the existing preference pane when prompted.

Here is a quick rundown of common tasks you might have to do to migrate properly. (Apparently the preference pane is still 32-bit.) At this point you can click “Start My SQL Server” to start the server and verify it works. Since you are upgrading from Leopard, your mysql gem is compiled for 32-bit only and therefore needs to be recompiled.

Last Friday, Apple released their new OS version: Snow Leopard.