Forgot to include the line ... line 44 of connection.rb in the gem version 1.1.0 of beanstalk-client:
@socket.fcntl(Fcntl::F_SETFD, Fcntl::FD_CLOEXEC) Michael On Jul 30, 2:54 am, Michael Wasser <[email protected]> wrote: > I currently dev all my ruby apps in windows and recently had some > interest in beanstalkd. I was able to get beanstalkd running under > cygwin but when running the code for the ruby gem 'beanstalk-client' > with the code as follows: > > Beanstalk::Pool.new(['localhost:11300']) > > I got the error: > > NameError: uninitialized constant Fcntl::F_SETFD > > It seems as though this socket flag is not supported by windows? > Anyways, commenting that one line renders a gem that seems to work for > me for development purposes in windows. With a ruby/ windows > background I'm not very familiar with this flag and was wondering if > anyone could help explain the implications of me doing this? Are the > consequences of this fine for just development purposes? > > Thanks, > Michael -- You received this message because you are subscribed to the Google Groups "beanstalk-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/beanstalk-talk?hl=en.
