RedCloth gem installation problem

Hi. I can’t install RedCloth gem.

Building native extensions. This could take a while…
ERROR: Error installing RedCloth:
ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
C:/Ruby192/bin/ruby.exe: No such file or directory – extconf.rb
(LoadError)

Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.3 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.3/ext/redcloth_scan/gem_make.out

I tried installing from command line and also from netbeans 6.9. The
same problem.
I did everything about devkit mentioned here:

OS: win7pro 64bit

Just tried to install hpricot gem, and there’s a same problem. After
that tried to install mongrel gem, and installation was successful.

On Oct 26, 10:51am, Alex S. [email protected] wrote:

Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.3 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.3/ext/redcloth_scan/gem_ma
ke.out

I tried installing from command line and also from netbeans 6.9. The
same problem.
OS: win7pro 64bit

You need install RubyInstaller DevKit from rubyinstaller.org:

And install following the instructions here:

I did it all as it say’s there, but on step 5, i tried to install gem
with “gem install rdiscount --platform=ruby” and it showed the same
error:

c:>gem install rdiscount --platform=ruby
Temporarily enhancing PATH to include DevKit…
Building native extensions. This could take a while…
ERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
C:/Ruby192/bin/ruby.exe: No such file or directory – extconf.rb
(LoadError)

Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount
-1.6.5 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/gem_make.out