
- Rubyinstaller 1.8.1 how to#
- Rubyinstaller 1.8.1 install#
- Rubyinstaller 1.8.1 code#
- Rubyinstaller 1.8.1 download#
This could take a while.ĮRROR: Failed to build gem native extension. Temporarily enhancing PATH to include DevKit.īuilding native extensions.
Rubyinstaller 1.8.1 install#
When I execute the above first step, I get the error - C:\Ruby193\DevKit>gem install json -platform=ruby Ruby -rubygems -e "require 'json' puts JSON.load('').inspect"

To return to the problem at hand, you should be able to install JSON (or otherwise test that your DevKit successfully installed) by running the following commands which will perform an install of the JSON gem and then use it: gem install json -platform=ruby
Rubyinstaller 1.8.1 download#
In order to install those gem in Windows, you need Ruby DEVELOPMENT KIT from the download link ( choose the correct installer based on your Ruby version).Įxtract the installation to some permanent location. Most of the Ruby gems are developed for Unix and require some extra tools to make it work on Windows. Makefile:204: recipe for target 'generator.o' failed make: *** Error 1Ĭ:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1 for inspection. fbuffer/fbuffer.h:5:18: fatalĮrror: ruby.h: No such file or directory #include "ruby.h" Make generating f compiling generator.c Inįile included from generator.c:1:0. C:/Ruby193/bin/ruby.exe extconf.rb creating Makefile This could take a while… ERROR: Error installing json:ĮRROR: Failed to build gem native extension. Temporarily enhancing PATH to include DevKit… Building nativeĮxtensions. Next step – Not so nice, but, I'll change mingw32-make.exe to make.exe and see. DOSKEY is valid only in the cmd window in which you run it.
Rubyinstaller 1.8.1 code#
I am guessing that the ruby code is spawning off a hidden cmd window and thats why the command is not working. Then, I ran the DOSKEY make=mingw32-make followed by the ruby command. Then added C:\MinGW\bin to environment variables to find mingw32-make.exe. I did this – Install Mingw and installed all its developer tools and base stuff. I have been struggling to install gems and I am failing for so many days.
Rubyinstaller 1.8.1 how to#
If someone already knows how to fix this, then please help me. Using make is not recognized as an internal or external command – Qt SDK – Windows 'make' is not recognized as an internal or external command, operable program or batch file. I am trying to solve the above error now – Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1/ext/json/ext/generator/gem_make.out Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/json-1.8.1 for inspection. 'make' is not recognized as an internal or external command,

When I execute the above first step, I get the error – C:\Ruby193\DevKit>gem install json -platform=ruby

I wanted to install the rspec-rails gem with ruby 1.9.3 on windows 7.
