Installing Rails on Windows
Understand how to set up a Windows environment for Rails development by installing Ruby, Node.js, Git, Yarn, and ChromeDriver, and finally installing Rails 6 to begin building web applications.
We'll cover the following...
Install ruby
First, install Ruby using the RubyInstaller for Windows package. At the time of this writing, the latest version of Ruby available via RubyInstaller is Ruby 2.6.0.
Installing Ruby takes a few steps. First, install the base language and the development kit.
The base installation is a snap. After “Save/Download”, click “Run”, and then click “OK”. Select “I accept the License” (after reading it carefully, of course) and then click “Next”. Select “Add Ruby executables to your PATH”, click “Install” (see the following screenshot), and then click “Finish”.
Download and extract the development kit for Ruby 2.0 and higher. Override the extraction destination with C:\ruby\devkit, as in the following screenshot.
Once that completes, find Start Command Prompt with Ruby in your Start ...