From: Daniel Black Date: 2011-12-14T02:03:37+09:00 Subject: Re: Ruby 1.9.3-p0 + Cygwin 1.7.9-1 + posix-spawn-0.3.6: Can't set RUBY_PLATFORM = cygwin Hi, Luis, Exceedingly helpful. I didn't recognize the platform condition as a regular expression. In irb, "print RUBY_PLATFORM" results in "1386-cygwin." This is also specified in /local/include/ruby-1.9.1/i386-cygwin/ruby/config.h. I first tried to install the posix-spawn gem from rubygems.org, and hit the same error. I unpacked it only to find that it doesn't include the commit which adds "cygwin" to the condition regex. I further cloned the repo and attempted to build the gem myself, but hit upon an issue that aborts the rake. Rake can't find rake/extensiontask. I've reinstalled the rake gem just to be sure nothing was clobbered or installed incorrectly to begin with, to no avail. It shouldn't be necessary, but I'm going to reinstall Ruby 1.9.3. It may be that the fact I installed Ruby 1.8 via the Cygwin installer and then later compiled and installed 1.9.3 has created a conflict. That feels of a piece with "Just reinstall Windows" in its ignorant paranoia, but I tried. This also did not mitigate the issue. I'll keep pecking away at the issue. How frequently is the rubygems.org repository updated? Thank you for the very thoughtful help. Cheers, Daniel -- Posted via http://www.ruby-forum.com/.