Installing Ruby On Rails On Windows

Step 1: Download Ruby Windows installer from http://rubyinstaller.org/downloads/

Step 2: Double click and install it

Step 3: Now Under Start Button you will see a new Section “Start Command Prompt with Ruby“. Just open that and run below command
Command: ruby -v
Description: With above command You will see which current version of Ruby is installed on your system
Command: gem -v
Description: With above command You will see which current version of Gem is installed on your system

Step 4: Download DevKit file from http://rubyinstaller.org/downloads (DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe)

Step 5: Extract DevKit to path C:Ruby193DevKit

Step 6: Run Below command from command Prompt
Command1: cd C:Ruby193DevKit
Command 2: ruby dk.rb init
Command 3: ruby dk.rb review
Command 4: ruby dk.rb install

Configuring MySql with Ruby On Rails:

Step 7: If you have Mysql already installed on your system then
copy (or Download) libMySQL.dll file (Usually found in bin/Mysql/Mysql 5.x/lib/libMySQL.dll) to c:\bin

Step 8: Now run below command:
gem install mysql

You are done now

The following two tabs change content below.

Chandra Shekhar

GCP Architect
Chandra Shekhar Pandey is Google certified Cloud engineer, I am Magento2 Trained developer. Having huge experience in designing cloud solution. I have around 12 years of experience with world enterprise IT companies and fortune 500 clients. During my architecture design I am always caring about high availability, fast performance and resilient system. From the programmer background I have huge experience in LAMP stack as well. Throughout my carrier I have worked on Retail, E-Learning, Video Conferencing and social media domain. The motive of creating cutehits was just to share the knowledge/solutions I get to know during my day to day life so that if possible I can help someone for same problems/solutions. CuteHits.com is a really a very effort for sharing knowledge to rest of the world. For any query/suggestion about same you can contact me on below details:- Email: shekharmca2005 at gmail.com Phone: +91-9560201363

Latest posts by Chandra Shekhar (see all)

You may also like...