Install Ruby, rails, and MySQL in Windows

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.