1) Install Ruby on Rails

2) do "gem install mysql"

3) Install the MySQL server version of your choise

4) Don't copy the libmysql.dll from your mysql dir to your ruby/bin dir.

Copy the libmysql.dll from 

http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/

to your ruby/bin dir.

5) start programming in RoR

Resources:

https://www.ibm.com/developerworks/opensource/library/os-eclipse-iphoneruby1/index.html

http://www.ibm.com/developerworks/opensource/library/os-eclipse-iphoneruby2/index.html

http://www.ibm.com/developerworks/opensource/library/os-eclipse-iphoneruby3/index.html

http://github.com/noelrappin/rails-iui

http://www.mckinneystation.com/2009/02/20/adding-an-iphone-interface-to-an-existing-rails-application/

http://cookingandcoding.wordpress.com/2008/09/05/iphone-web-applications-with-iui-and-ruby-on-rails-part-1/#more-50

 

http://www.slashdotdash.net/2007/12/04/iphone-on-rails-creating-an-iphone-optimised-version-of-your-rails-site-using-iui-and-rails-2/

 

Iphone emulator on windows

http://labs.blackbaud.com/NetCommunity/article?artid=662