I installed ruby 1.9.1 and was gonna upgrade my rails apps to Rails 2.3. These are the problems I ran into during the upgrade.
MySQL Gem
Automatic installation of mysql 2.8.1 gem for ruby 1.9.1 on Mac OS 10.5 doesn’t work. Here is how to install it manually.
1. First thing, check whether you meet requirements on mysql gem’s page.
Note: mysql 2.8.1 gem doesn’t support MySQL < 5.0.67 and 5.1.x family (according to this post).
2. Download it from their page on RubyForge. Unpack it, cd to its root directory. Run these commands.
ruby extconf.rb --with-mysql-config=/usr/local/mysql/bin/mysql_config --with-mysql-dir=/usr/local/mysql make sudo make install
Ruby-Debug Gem
Ruby-debug 0.10.3 gem doesn’t support ruby 1.9.x. If you have some important sites in rails, maybe you shouldn’t switch to ruby 1.9.x yet, as debugging will not be available.