I've been trying to get jekyll installed within the Cygwin 1.7.9-1
environment using Ruby 1.9.3-p0 on WinXP. Ruby and RubyGems are working
fine. However, I continually run into an issue with posix-spawn being
unable to compile when trying to install Jekyll.
The posix-spawn developers created a patch to keep posix-spawn from
compiling, as it's unnecessary. However, there are a couple of issues
- I can't get this gem (posix-spawn-0.3.6.gem) with the patch
applied. Installing with 'gem install posix-spawn' after removing from
cache and gems doesn't pull the fresh code; and
- The patch assumes RUBY_PLATFORM ~= "cygwin" (among others).
However, ruby 1.9.3-p0 sets RUBY_PLATFORM to "i386-cygwin" so the
comparison won't work.
I'm new to Ruby, and am admittedly only using it for Jekyll (at the
moment). I realize that some of the issue likely resides within Cygwin,
but seems I should be able to address each issue within Ruby itself. Can
I just set RUBY_PLATFORM in the Makefile and rebuild? How can I get the
updated posix-spawn code? Hand-editing the two changed .rb files in
posix-spawn to add the comparison doesn't help, as each time I run "gem
install *" posix-spawn is installed over any changes I've made.
Thank you for your patience and any help you can provide.
Posted via http://www.ruby-forum.com/.