I tried this and it seems to have worked for me.  Thank god to whoever 
posted this!

Cris

Alpha Blue wrote:
> To fix this:
> 
> 1) cd /usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5/ext/http11
> 2) sudo vi / mate on http11.c and:
> replace line 77 with
> for(ch = RSTRING_PTR(f), end = ch + RSTRING_LEN(f); ch < end; ch++) {
> replace line 172 with
> colon = strchr(RSTRING_PTR(temp), ':');
> replace line 174 with
> rb_hash_aset(req, global_server_name, rb_str_substr(temp, 0, colon - 
> RSTRING_PTR(temp)));
> replce line 176,177
> rb_str_substr(temp, colon - RSTRING_PTR(temp)+1,
> RSTRING_LEN(temp)));
> replace lines 298 299
> dptr = RSTRING_PTR(data);
> dlen = RSTRING_LEN(data);
> 3) save the file, close the vi / textmate
> 4) sudo ruby extconf.rb && sudo make && sudo make install
> 5) cd ../../lib/mongrel
> (or the full path 
> "/usr/local/lib/ruby/gems/1.9.1/gems/mongrel-1.1.5/lib/mongrel"
> 6) mate / sudo vi handlers.rb
> 7) fix the case statements in
> On lines 208-212, change instances of ": false" to "then false"

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to