From: Quintus Date: 2010-08-27T00:57:35+09:00 Subject: Re: gem install RedCloth -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 26.08.2010 17:41, schrieb Tim Ss: > I am just learning Ruby and have become somewhat frustrated on this > issue. > > I am trying to install Redcloth and I keep getting an error back > > C:\>gem install RedCloth > Building native extensions. This could take a while... > ERROR: Error installing RedCloth: > ERROR: Failed to build gem native extension. > > C:/Ruby186/bin/ruby.exe extconf.rb > creating Makefile > > make > 'make' is not recognized as an internal or external command, > operable program or batch file. > > > Gem files will remain installed in > C:/Ruby186/lib/ruby/gems/1.8/gems/RedCloth-4. > 2.3 for inspection. > Results logged to > C:/Ruby186/lib/ruby/gems/1.8/gems/RedCloth-4.2.3/ext/redcloth_ > scan/gem_make.out > > > I installed Ruby 1.8.6-p398 and downloaded gems 1.3.7 and installed > that. > This is on Win 7 if it makes any difference. I am following a Ruby book. You need a C compiler to install gems with native extensions. The RubyInstaller[1] team provides a devkit for this, but I'm not sure if that works with your _really_ old Ruby installation. Install a newer Ruby, e.g. 1.9.2 or 1.8.7, and try it. Vale, Marvin [1] http://rubyinstaller.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx2jtQACgkQDYShvwAbcNk4rwCgkpQY+dUtMiE6+0PJxgY0sa74 dO4An13Yo4d2NfD6IYjlX1iW7RHB8ymd =Kky4 -----END PGP SIGNATURE-----