[Backgroundrb-devel] Advanced Rails Recipe 43 doesn't work, can't figure a work around

hemant gethemant at gmail.com
Tue Jul 22 01:00:14 EDT 2008


On Mon, Jul 21, 2008 at 8:19 PM, Derrek Long <derrek at ridecharge.com> wrote:
>> I have a fix for Linux for the above mentioned problem, looking for a
>>fix for OS X though. Basically, it boils down to "read_nonblock()"
>>doesn't behave in OS X, as it should. In OSX, read_nonblock ,
>>*blocks*, hence we had to switch to recv_nonblock(), which doesn't
>>block in both Linux and OS X. But recv_nonblock is a something of a
>>beast and doesn't work well for newly created sockets.
>
> I pulled from git this morning and just spent another 20 minutes but couldn't get anything but the Packet::InvalidWorker error.  Is there any example of working code I can look at that accesses the backgroundrb cache?
>
> My system is Ubuntu 7.10, rails 2.1, and ruby 1.8.6.

Please update to packet 0.1.9, it will work in Linux.


More information about the Backgroundrb-devel mailing list