Wilson's Landing RSS

Archive

Dec
22nd
Mon
permalink

How to install the RubyGems 1.3.0 Update and MYSQL GEM on OSX 10.5 to fix your broken Ruby on Rails 2.2.2 Application.

RubyGems Update

first, “sudo gem install rubygems-update”

second, “sudo gem update —system”

third, “sudo ruby update_rubygems”

fourth, “sudo gem update rails”

Mysql Update (MYSQL libraries are no longer included in Rails)

First type export ARCHFLAGS=”-arch i386” Then type sudo gem install mysql — —with-mysql-config=/usr/local/mysql/bin/mysql_config This took me forever. FYI…if you have the 64 bit MYSQL installed you’re screwed. Install the 32 bit as along side, install them gem…then reinstall the 64 bit.