# Mongrel rails issue

**URL:** <https://www.ruby-forum.com/t/mongrel-rails-issue/53779>\
**Category:** Ruby\
**Created:** [February 14, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779 "2006-02-14T15:13:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/1 "2006-02-14T15:13:14Z")

</div>

hi there,

i just installed mongrel 0.32 with my rails app and got this,

-bash-3.00$ mongrel\_rails start -p 8081  
Running Mongrel server in development mode at 0.0.0.0:8081  
Server ready.  
ERROR(NoMethodError): undefined method `readpartial' for #<TCPSocket:0x8e44cc4> /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:351:in`process\_client’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:331:in  
`initialize' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:330:in`timeout’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:330:in  
`initialize' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:327:in`initialize’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:327:in  
`new' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:327:in`initialize’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:327:in  
`times' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel.rb:327:in`initialize’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/bin/mongrel\_rails:166:in  
`new' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/bin/mongrel_rails:166:in`start\_mongrel’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/bin/mongrel\_rails:181:in  
`run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/lib/mongrel/command.rb:183:in`run’  
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.2/bin/mongrel\_rails:224  
/usr/local/bin/mongrel\_rails:18:in `load’  
/usr/local/bin/mongrel\_rails:18

i do use rails partials if that has anything to do with the readpartial  
(above) method, but i expect it isn’t. also, script/server webrick -p  
8100 works fine.

thanks for any help

BD.

---

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/2 "2006-02-14T15:13:14Z")

</div>

Hey, you need Ruby 1.8.4. I’ll see if I can include that in the gem  
dependency information. The readpartial method is a new method on the  
Socket class, nothing to do with rails.

---

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 5:19pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/3 "2006-02-14T17:19:38Z")

</div>

Quoting Zed S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> Hey, you need Ruby 1.8.4. I’ll see if I can include that in the  
> gem dependency information. The readpartial method is a new  
> method on the Socket class, nothing to do with rails.

Argh, I’m stuck on 1.8.2 at the moment because of Syck bugs in  
1.8.4. Is there any way to make it work for 1.8.2?

-mental

---

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 3:13pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/4 "2006-02-14T15:13:16Z")

</div>

thanks Zed,

good work on mongrel it’s just what I’ve been looking for.

BD

---

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 5:31pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/5 "2006-02-14T17:31:45Z")

</div>

On Feb 14, 2006, at 10:19 AM, removed\_email\_address@domain.invalid wrote:

> I’m stuck on 1.8.2 at the moment because of Syck bugs in 1.8.4.

I had nothing but trouble with 1.8.3, but 1.8.4 has been working  
great for me. Which bugs are holding you back, if I may ask?

James Edward G. II

---

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 6:50pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/6 "2006-02-14T18:50:51Z")

</div>

Quoting James Edward G. II [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> On Feb 14, 2006, at 10:19 AM, removed\_email\_address@domain.invalid wrote:
> 
> > I’m stuck on 1.8.2 at the moment because of Syck bugs in 1.8.4.
> 
> I had nothing but trouble with 1.8.3, but 1.8.4 has been working  
> great for me. Which bugs are holding you back, if I may ask?

It was stripping newlines from folded scalars under some  
circumstances. I didn’t stay on 1.8.4 long enough to distill it  
down to a testcase though.

(I think \_why knows about the issue at least; he was the one that  
recommended that I downgrade to 1.8.2 for now)

-mental

---

<div class="post-metadata">

**Author:** ![S\_blackdog](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5f8ce5/32.png) [@S\_blackdog](https://www.ruby-forum.com/u/S_blackdog)\
**Post date:** [February 14, 2006, 6:56pm UTC](https://www.ruby-forum.com/t/mongrel-rails-issue/53779/7 "2006-02-14T18:56:57Z")

</div>

Quoting removed\_email\_address@domain.invalid:

> Quoting James Edward G. II [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
> 
> (I think \_why knows about the issue at least; he was the one that  
> recommended that I downgrade to 1.8.2 for now)

For Hobix at least. Lest I scare everyone off 1.8.4, I think this  
is a weird corner case that shouldn’t affect _most_ users.

-mental
