From: Jon Forums Date: 2012-04-06T03:21:12+09:00 Subject: Re: Ruby on Windows. Hal Fulton wrote in post #1055034: > On Wed, Apr 4, 2012 at 7:58 AM, Jon Forums wrote: > >> > C:/Program Files/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The >> > complier failed to generate an executable file. (RuntimeError) >> > You have to install development tools first. >> >> The very first thing you should do is reinstall both Ruby and the DevKit >> to a directory without spaces, say c:\Ruby192 and c:\DevKit. Don't >> forget to configure the Devkit and run it's `dk.rb` install script. >> >> > Thanks. He got it working. I think it was the space in the dir name. Excellent. The MSYS/MinGW based DevKit doesn't like spacey dirs. I highly recommend he look into 1.9.3p125. In addition to other goodies, 1.9.3p125 contains an important fix for a long-standing Windows 1.9 performance regression that affected Windows usability. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/42686 If he feels adventurous, have him check out http://groups.google.com/group/thecodeshop/browse_thread/thread/f017c5a53fdc8c2f for 1.9.3 edge builds containing both Windows-specific and multi-platform experimental performance enhancements. Jon -- Posted via http://www.ruby-forum.com/.