[Mongrel] Mongrel doesn't start under Rails 2.0.2/Win XP
luislavena at gmail.com
Sat Jan 12 15:10:55 EST 2008
On Jan 12, 2008 5:39 PM, Wes Gamble <lists at ruby-forum.com> wrote:
> I found it. Sigh.
> Mongrel was trying to use fastthread 1.0.1 which apparently had been
> compiled with VC 8 (see below). I'm pretty sure that fastthread is not
> even necessary anymore - is that right? When I removed the fastthread
> gem, it starts up fine.
that's Rubygems 0.9.5 fault!
When you tried to install at some point mongrel with 0.9.5, rubygems
pulled fastthread source instead of the pre-compiled gem I made
Anyway, if you're using PATCHLEVEL above 36 you're safe, if not, you
I suggest you update to latest One-Click Installer, do a gem update
--system and use it :-)
> Also, check out my VC8 polluted PATH entries:
> C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;
> C:\Program Files\Microsoft Visual Studio 8\VC\BIN;
> C:\Program Files\Microsoft Visual Studio 8\Common7\Tools;
> C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin;
> C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin;
> C:\Program Files\Microsoft Visual Studio 8\VC\VCPackages;
> (I got these because I installed the MSVC++ 2005 Express Edition at some
That's why the gem installation process didn't fail on you since nmake
and cl.exe was available all the time!
I love to have my PATHs under control (yeah, I'm uscha control freak) ;-)
Visual Studio made that impossible...
> So...just to be clear, should these entries be banished from my PATH
> immediately (unless of course I decide to start developing VC++ :])?
Maybe you can create a shortcut for the commandline version, like
previous Visual Studio versions did. Google for that and you will find
good resources about setvc, setvars or setvcvars (bat and cmd).
> Thanks for all of the help, guys.
No problem, I was worried that I broke something inside mongrel in
latest release! :P
A common mistake that people make when trying to design
something completely foolproof is to underestimate
the ingenuity of complete fools.
More information about the Mongrel-users