How to install Ruby on Rails on Windows

****************IMPORTANT UPDATE**************: DO NOT Cancel the ruby bundle install by pressing CTRL+C, let the installation complete on it’s own, it may take up to 10 minutes, thanks to Brian Crane and Вячеслав Трембач for pointing this out!

Learn how to install Ruby on Rails on Windows 7. I go over what Ruby and Rails is and how it all relates to Ruby Gems so you can understand the whole system better while making it work on Windows 7.

hi clever…i already have a ruby version thats not workin installed on my system…please how do i UNINSTALL IT..so i can follow this tutorial? any help will be appreciated cos im almost givin up on the whole installation process on windows

I spent a lot of days to install ruby on rails on my Windows 10. All failed.But now with this tutorial, I made the installation. And now I have Rails 5 installed with Ruby 2.2.5 9 (DevKit – mingw64-4.7.2).

NOTE:

The problems were about the version of Rubys, because I tried the same way to install them.

You may want to mention that this command always installs the lastest version (which may not be compatible resulting in an activesupport version 2.2.2 error). To install rails with an older version of ruby you must specify an older version of rails such as 4.2.4. So at 10:01 you would type something like: gem install rails -v 4.2.4

I followed the same steps as you mentioned in video but I am getting following error when I executed "gem install rails" commandc:UsersRShukla>gem install railsERROR: Error installing rails: The 'json' native gem requires installed build tools.