

Keep the other settings, as it is, and click on ‘ Install’. I will recommend you to install it in the default location, i.e. Now, you will have to choose the location, where you want to install ‘ Ruby’. Click on ‘ I accept the License’, and click on ‘ Next’. You will be asked to accept the license agreement. If above command running properly then done.*If you are already having the Development kit, go for the one, without Development kit, so save some space on your hard drive. Step 6: Open your GIT BASH inside the devkit folder and run this two commands $ ruby dk.rb init

Step 5: Extract the DevKit file inside the devkit folder Step 4: Create a devkit folder inside Ruby directory that means where created a default directory after installing ruby software, something like this disk (:C) or (:D)/Ruby25/devkit/ Step 3: Download Devkit here take the suitable one for matching your windows bit like 32 or 64 bit Step 2: Download the ruby latest version here and install it in your directory. Step 1.1: Download and install latest NodeJS from here and check the NodeJS version $ node -v Step 1: Download Git BASH as the BASH emulation behaves just like the "git" command in LINUX and UNIX environments. This could take a while.Ĭan anyone figure out what is the problem of getting this errorįollow those steps, actually, I have installed Ruby on Rails to many windows machine using these steps. Temporarily enhancing PATH for MSYS/MINGW.īuilding native extensions. Gem files will remain installed in C:/Ruby25-圆4/lib/ruby/gems/2.5.0/gems/nio4r- 2.2.0 for inspection. 'make' is not recognized as an internal or external command, Getting error while trying to install Ruby on Rails like below command MINGW64 ~ĮRROR: Failed to build gem native extension.Ĭurrent directory: C:/Ruby25-圆4/lib/ruby/gems/2.5.0/gems/nio4r-2.2.0/ext/ni o4rĬ:/Ruby25-圆4/bin/ruby.exe -r.
