
See " Migrating MySQL databases" for an example.Mac OS X Snow Leopard (version 10.6) is the seventh major release of Mac OS X, Apple's desktop and server operating system for Macintosh computers. Note that to actually do anything useful with the server you’ll need to re-create your databases or migrate them.

So we install it: $ sudo gem install rack System/Library/Frameworks/amework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:636:in `report_activate_error': Could not find RubyGem rack (~> 1.0.0) (Gem::LoadError) For some reason, Rails complains even when it has its own built-in version of Rack: $ script/server We’ll need the mysql gem, which is considerably easier to build on Snow Leopard than it was on Leopard (see " Installing the mysql gem on Mac OS X Leopard 10.5.1": $ sudo gem install mysqlĪnd Rack. I did not update to the 5.1 "GA" (General Availability) release on the server because I did not want to lose the automatic patches pushed out via the Red Hat network. Note that this is not an exact match with the version running on the server (5.0.45-7.el5), but it is at least in the same major version series.



(Note that on that list are two items that I had already installed and are not in a pristine Snow Leopard install: RSpec and wopen3.) Other requirements Mac OS X already comes with the basic required pieces: $ gem -version For notes made building on a 64-bit platform see " Setting up Ruby on Rails on Max OS X 10.6.2 Snow Leopard". Note: These build notes were made while working with a first-generation Intel-powered iMac, and as such are specific to a 32-bit architecture.
