diff --git a/lib/couchrest/monkeypatches.rb b/lib/couchrest/monkeypatches.rb index 99e1cff..56942be 100644 --- a/lib/couchrest/monkeypatches.rb +++ b/lib/couchrest/monkeypatches.rb @@ -37,7 +37,7 @@ if RUBY_VERSION.to_f < 1.9 if IO.select([@io], nil, nil, @read_timeout) @rbuf << @io.read_nonblock(65536) else - raise Timeout::TimeoutError + raise Timeout::Error end end end