Mongrel rails issue

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:inprocess_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:intimeout’
/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:ininitialize’
/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:ininitialize’
/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:ininitialize’
/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:instart_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:inrun’
/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.

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.

Quoting Zed S. [email protected]:

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

thanks Zed,

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

BD

On Feb 14, 2006, at 10:19 AM, [email protected] 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

Quoting James Edward G. II [email protected]:

On Feb 14, 2006, at 10:19 AM, [email protected] 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

Quoting [email protected]:

Quoting James Edward G. II [email protected]:

(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