1, download the latest version of Rubyinstaller and install http://rubyinstaller.org/downloads/
Set the path as shown, and I'll have enough of all the options when I install, eliminating the need for any later configuration hassles.
2, after the installation can go to the Cmd command to enter Ruby-v, and see the version information shown that the installation was successful
3. next installation gets RubyGems URL: https://rubygems.org
Search click and select download format and download to local decompression.
Enter the path in cmd:D:\Software\Ruby\rubygems-2.6.6\setup.rb
Or do not use the package, directly enter the gem install Rubygems-update can also be installed successfully
(The key is to be able to view the version information stating that the installation was successful)
4, in the next is to install rails which is (the latest version of 5.0.0.1): https://rubygems.org/gems/rails/versions/5.0.0.1
Installation such as: (after installation can be able to view the installation version information instructions to install the success! )
The installation is now complete.
Ruby installation Configuration (latest version)