Install Ruby, rails, and MySQL in Windows
1. Download and install Ruby:
Http://rubyinstaller.org/downloads/ download the latest Ruby 1.9.3 and install it.
After the installation is complete, view the version number.
Ruby is successfully installed.
2. rails installation:
In the command line, enter gem install rails and wait for installation.
After the installation is complete, view the version number.
Rails is successfully installed.
3. Install MySQL 5.1:
Http://www.duote.com/soft/3151.html download and install mysql.
After the installation is complete, enter mysql-V (or version) in the command line to view its version number.
MySQL is successfully installed.
4. Connection between ROR and MYSQL:
4.1. Download The mysql-connector-c-noinstall-6.0.2-win32 and copy libmysql. dll and libmysql. Lib under lib to the bin folder under the ruby installation directory.
4.2 In the command line, enter gem install mysql2 for gem installation.
From: http://lovewsy.iteye.com/blog/1798083