After installing Ruby + Rails on Windows with RailsInstaller, i couldn't install any gems that required to build native extensions. Error:
C:\Users\Admin>gem install rdiscount
Building native extensions. This could take a while...
ERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.
C:/Rails/Ruby1.9.2/bin/ruby.exe extconf.rb
Gem files will remain installed in C:/Rails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/r
discount-1.6.8 for inspection.
Results logged to C:/Rails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.8/ex
t/gem_make.out
Content of gem_make.out:
C:/Rails/Ruby1.9.2/bin/ruby.exe extconf.rb
I already went through this troubleshooting page, but it didn't fix this error. It seems that Ruby can't spawn child processes, because when i run extconf.rb manually, it works.
PATH:
C:\Rails\DevKit\bin;C:\Rails\DevKit\mingw\bin;C:\Rails\Git\cmd;C:\Rails\Ruby1.9.2\bin;C:\Program Files\AMD APP\bin\x86;C:\Program Files\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\nodejs\
I hope someone can help me with this issue.