Robert.Whitener at gxs.com
2009-Mar-26 11:36 UTC
[Eventmachine-talk] problem with FileWatcher
Hi, I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 system. I really wanted to utilize the file watching API, but unfortunately I don''t see filewatcher.rb in lib/em, and also in eventmachine.rb I don''t see the "self.watch()" method definition (indicated in the documentation here: http://eventmachine.rubyforge.org/EventMachine.html#M000406 did I pull the wrong version? Should I have pulled from SVN instead? Thanks. Rob Whitener Test Automation Specialist GXS -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/d55a506a/attachment.html>
Hi Robert, The file watching was implemented shortly after 0.12.6 was released. You''ll need to pull from the git repository: git clone git://github.com/eventmachine/eventmachine.git 2009/3/26 <Robert.Whitener at gxs.com>> Hi, > > > > I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 > system. I really wanted to utilize the file watching API, but unfortunately > I don?t see filewatcher.rb in lib/em, and also in eventmachine.rb I don?t > see the ?self.watch()? method definition (indicated in the documentation > here: > > http://eventmachine.rubyforge.org/EventMachine.html#M000406 > > > > did I pull the wrong version? Should I have pulled from SVN instead? > > > > Thanks. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/1fc4d722/attachment.html>
Robert.Whitener at gxs.com
2009-Mar-26 11:55 UTC
[Eventmachine-talk] problem with FileWatcher
Thanks for the quick reply! Right after I posted the email I checked subversion with no luck, and then went on to Git - so I have downloaded it and am in the process of setting it up. Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Jake Douglas Sent: Thursday, March 26, 2009 11:50 AM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Hi Robert, The file watching was implemented shortly after 0.12.6 was released. You''ll need to pull from the git repository: git clone git://github.com/eventmachine/eventmachine.git<http://github.com/eventmachine/eventmachine.git> 2009/3/26 <Robert.Whitener at gxs.com<mailto:Robert.Whitener at gxs.com>> Hi, I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 system. I really wanted to utilize the file watching API, but unfortunately I don''t see filewatcher.rb in lib/em, and also in eventmachine.rb I don''t see the "self.watch()" method definition (indicated in the documentation here: http://eventmachine.rubyforge.org/EventMachine.html#M000406 did I pull the wrong version? Should I have pulled from SVN instead? Thanks. Rob Whitener Test Automation Specialist GXS _______________________________________________ Eventmachine-talk mailing list Eventmachine-talk at rubyforge.org<mailto:Eventmachine-talk at rubyforge.org> http://rubyforge.org/mailman/listinfo/eventmachine-talk -- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/31cc0ab8/attachment.html>
Robert.Whitener at gxs.com
2009-Mar-26 12:24 UTC
[Eventmachine-talk] problem with FileWatcher
Ok, I thought I was on my way but not so sure now. I compiled the EventMachine source using ''rake build'', however I did this in an arbitrary directory on my machine so when I try and run a script using EventMachine it fails. Where should I have put the source to compile in order to pull it into ruby''s space or, is there a way to create a Gem from the source that I can just put into the gems folder? Thanks, Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Robert.Whitener at gxs.com Sent: Thursday, March 26, 2009 11:56 AM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Thanks for the quick reply! Right after I posted the email I checked subversion with no luck, and then went on to Git - so I have downloaded it and am in the process of setting it up. Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Jake Douglas Sent: Thursday, March 26, 2009 11:50 AM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Hi Robert, The file watching was implemented shortly after 0.12.6 was released. You''ll need to pull from the git repository: git clone git://github.com/eventmachine/eventmachine.git<http://github.com/eventmachine/eventmachine.git> 2009/3/26 <Robert.Whitener at gxs.com<mailto:Robert.Whitener at gxs.com>> Hi, I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 system. I really wanted to utilize the file watching API, but unfortunately I don''t see filewatcher.rb in lib/em, and also in eventmachine.rb I don''t see the "self.watch()" method definition (indicated in the documentation here: http://eventmachine.rubyforge.org/EventMachine.html#M000406 did I pull the wrong version? Should I have pulled from SVN instead? Thanks. Rob Whitener Test Automation Specialist GXS _______________________________________________ Eventmachine-talk mailing list Eventmachine-talk at rubyforge.org<mailto:Eventmachine-talk at rubyforge.org> http://rubyforge.org/mailman/listinfo/eventmachine-talk -- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/df41610e/attachment-0001.html>
Robert.Whitener at gxs.com
2009-Mar-26 12:48 UTC
[Eventmachine-talk] problem with FileWatcher
Never mind, I am an idiot. Didn''t realize that rake build IS building a gem. Rob Whitener Test Automation Specialist GXS Gaithersburg, MD. 20878 301-340-4132 Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Robert.Whitener at gxs.com Sent: Thursday, March 26, 2009 12:24 PM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Ok, I thought I was on my way but not so sure now. I compiled the EventMachine source using ''rake build'', however I did this in an arbitrary directory on my machine so when I try and run a script using EventMachine it fails. Where should I have put the source to compile in order to pull it into ruby''s space or, is there a way to create a Gem from the source that I can just put into the gems folder? Thanks, Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Robert.Whitener at gxs.com Sent: Thursday, March 26, 2009 11:56 AM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Thanks for the quick reply! Right after I posted the email I checked subversion with no luck, and then went on to Git - so I have downloaded it and am in the process of setting it up. Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Jake Douglas Sent: Thursday, March 26, 2009 11:50 AM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Hi Robert, The file watching was implemented shortly after 0.12.6 was released. You''ll need to pull from the git repository: git clone git://github.com/eventmachine/eventmachine.git<http://github.com/eventmachine/eventmachine.git> 2009/3/26 <Robert.Whitener at gxs.com<mailto:Robert.Whitener at gxs.com>> Hi, I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 system. I really wanted to utilize the file watching API, but unfortunately I don''t see filewatcher.rb in lib/em, and also in eventmachine.rb I don''t see the "self.watch()" method definition (indicated in the documentation here: http://eventmachine.rubyforge.org/EventMachine.html#M000406 did I pull the wrong version? Should I have pulled from SVN instead? Thanks. Rob Whitener Test Automation Specialist GXS _______________________________________________ Eventmachine-talk mailing list Eventmachine-talk at rubyforge.org<mailto:Eventmachine-talk at rubyforge.org> http://rubyforge.org/mailman/listinfo/eventmachine-talk -- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/ac828ba8/attachment.html>
Robert, Normally you would be able to do: gem build eventmachine.gemspec (this creates a .gem file) sudo gem install eventmachine-<version>.gem It looks like someone forgot to remove the "docs/README" from the gemspec though, on a recent change. For now, open up eventmachine.gemspec in your editor and remove all the references to "docs/README". The above commands should then work and install the gem in your normal gem directory, so you can require it as you usually would. We''ll fix the gemspec shortly. By the way, I''ve been laughing on and off for about an hour about your Tim Tebow remark ;) 2009/3/26 <Robert.Whitener at gxs.com>> Ok, I thought I was on my way but not so sure now. I compiled the > EventMachine source using ?rake build?, however I did this in an arbitrary > directory on my machine so when I try and run a script using EventMachine it > fails. > > > > Where should I have put the source to compile in order to pull it into > ruby?s space or, is there a way to create a Gem from the source that I can > just put into the gems folder? > > > > Thanks, > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > *From:* eventmachine-talk-bounces at rubyforge.org [mailto: > eventmachine-talk-bounces at rubyforge.org] *On Behalf Of * > Robert.Whitener at gxs.com > *Sent:* Thursday, March 26, 2009 11:56 AM > > *To:* eventmachine-talk at rubyforge.org > *Subject:* Re: [Eventmachine-talk] problem with FileWatcher > > > > Thanks for the quick reply! Right after I posted the email I checked > subversion with no luck, and then went on to Git ? so I have downloaded it > and am in the process of setting it up. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > *From:* eventmachine-talk-bounces at rubyforge.org [mailto: > eventmachine-talk-bounces at rubyforge.org] *On Behalf Of *Jake Douglas > *Sent:* Thursday, March 26, 2009 11:50 AM > *To:* eventmachine-talk at rubyforge.org > *Subject:* Re: [Eventmachine-talk] problem with FileWatcher > > > > Hi Robert, > > The file watching was implemented shortly after 0.12.6 was released. You''ll > need to pull from the git repository: > > git clone git://github.com/eventmachine/eventmachine.git > > 2009/3/26 <Robert.Whitener at gxs.com> > > Hi, > > > > I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 > system. I really wanted to utilize the file watching API, but unfortunately > I don?t see filewatcher.rb in lib/em, and also in eventmachine.rb I don?t > see the ?self.watch()? method definition (indicated in the documentation > here: > > http://eventmachine.rubyforge.org/EventMachine.html#M000406 > > > > did I pull the wrong version? Should I have pulled from SVN instead? > > > > Thanks. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > > > -- > Jake Douglas > 206-795-9207 > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/dbd00816/attachment-0001.html>
git clone git://github.com/eventmachine/eventmachine.git cd eventmachine gem build eventmachine.gemspec sudo gem install eventmachine-0.12.7.gem ruby -rubygems -e'' require "eventmachine"; EM.run{ EM.watch_file(...) } '' Sent from my iPhone On Mar 26, 2009, at 9:24 AM, <Robert.Whitener at gxs.com> wrote:> Ok, I thought I was on my way but not so sure now. I compiled the > EventMachine source using ?rake build?, however I did this in an > arbitrary directory on my machine so when I try and run a script usi > ng EventMachine it fails. > > > > Where should I have put the source to compile in order to pull it > into ruby?s space or, is there a way to create a Gem from the source > that I can just put into the gems folder? > > > > Thanks, > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org > ] On Behalf Of Robert.Whitener at gxs.com > Sent: Thursday, March 26, 2009 11:56 AM > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Thanks for the quick reply! Right after I posted the email I checked > subversion with no luck, and then went on to Git ? so I have downloa > ded it and am in the process of setting it up. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org > ] On Behalf Of Jake Douglas > Sent: Thursday, March 26, 2009 11:50 AM > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Hi Robert, > > The file watching was implemented shortly after 0.12.6 was released. > You''ll need to pull from the git repository: > > git clone git://github.com/eventmachine/eventmachine.git > > > 2009/3/26 <Robert.Whitener at gxs.com> > > Hi, > > > > I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 > system. I really wanted to utilize the file watching API, but > unfortunately I don?t see filewatcher.rb in lib/em, and also in even > tmachine.rb I don?t see the ?self.watch()? method definition > (indicated in the documentation here: > > http://eventmachine.rubyforge.org/EventMachine.html#M000406 > > > > did I pull the wrong version? Should I have pulled from SVN instead? > > > > Thanks. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > > > -- > Jake Douglas > 206-795-9207 > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/30283597/attachment.html>
> It looks like someone forgot to remove the "docs/README" from the > gemspec though, on a recent change. For now, open up > eventmachine.gemspec in your editor and remove all the references to > "docs/README". The above commands should then work and install the > gem in your normal gem directory, so you can require it as you > usually would. We''ll fix the gemspec shortly.Oops. rake gemspec will generate a new one with the proper paths.> > > By the way, I''ve been laughing on and off for about an hour about > your Tim Tebow remark ;) > > > 2009/3/26 <Robert.Whitener at gxs.com> > Ok, I thought I was on my way but not so sure now. I compiled the > EventMachine source using ?rake build?, however I did this in an > arbitrary directory on my machine so when I try and run a script usi > ng EventMachine it fails. > > > > Where should I have put the source to compile in order to pull it > into ruby?s space or, is there a way to create a Gem from the source > that I can just put into the gems folder? > > > > Thanks, > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org > ] On Behalf Of Robert.Whitener at gxs.com > Sent: Thursday, March 26, 2009 11:56 AM > > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Thanks for the quick reply! Right after I posted the email I checked > subversion with no luck, and then went on to Git ? so I have downloa > ded it and am in the process of setting it up. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org > ] On Behalf Of Jake Douglas > Sent: Thursday, March 26, 2009 11:50 AM > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Hi Robert, > > The file watching was implemented shortly after 0.12.6 was released. > You''ll need to pull from the git repository: > > git clone git://github.com/eventmachine/eventmachine.git > > 2009/3/26 <Robert.Whitener at gxs.com> > > Hi, > > > > I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 > system. I really wanted to utilize the file watching API, but > unfortunately I don?t see filewatcher.rb in lib/em, and also in even > tmachine.rb I don?t see the ?self.watch()? method definition > (indicated in the documentation here: > > http://eventmachine.rubyforge.org/EventMachine.html#M000406 > > > > did I pull the wrong version? Should I have pulled from SVN instead? > > > > Thanks. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > > > -- > Jake Douglas > 206-795-9207 > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > > -- > Jake Douglas > 206-795-9207 > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/29d81659/attachment-0001.html>
Robert.Whitener at gxs.com
2009-Mar-26 13:32 UTC
[Eventmachine-talk] problem with FileWatcher
Jake, Thanks for that tip - it got me to where I could run my script, but sadly I got this error: [BUG] rb_sys_fail(no file watching support on this system) - errno == 0 So I don''t think we have inotify set up on our system. Bummer. Glad to hear you like my Tebow remark, it gave me the chuckles too when I came across it. Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Jake Douglas Sent: Thursday, March 26, 2009 12:56 PM To: eventmachine-talk at rubyforge.org Subject: Re: [Eventmachine-talk] problem with FileWatcher Robert, Normally you would be able to do: gem build eventmachine.gemspec (this creates a .gem file) sudo gem install eventmachine-<version>.gem It looks like someone forgot to remove the "docs/README" from the gemspec though, on a recent change. For now, open up eventmachine.gemspec in your editor and remove all the references to "docs/README". The above commands should then work and install the gem in your normal gem directory, so you can require it as you usually would. We''ll fix the gemspec shortly. By the way, I''ve been laughing on and off for about an hour about your Tim Tebow remark ;) 2009/3/26 <Robert.Whitener at gxs.com<mailto:Robert.Whitener at gxs.com>> Ok, I thought I was on my way but not so sure now. I compiled the EventMachine source using ''rake build'', however I did this in an arbitrary directory on my machine so when I try and run a script using EventMachine it fails. Where should I have put the source to compile in order to pull it into ruby''s space or, is there a way to create a Gem from the source that I can just put into the gems folder? Thanks, Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org<mailto:eventmachine-talk-bounces at rubyforge.org> [mailto:eventmachine-talk-bounces at rubyforge.org<mailto:eventmachine-talk-bounces at rubyforge.org>] On Behalf Of Robert.Whitener at gxs.com<mailto:Robert.Whitener at gxs.com> Sent: Thursday, March 26, 2009 11:56 AM To: eventmachine-talk at rubyforge.org<mailto:eventmachine-talk at rubyforge.org> Subject: Re: [Eventmachine-talk] problem with FileWatcher Thanks for the quick reply! Right after I posted the email I checked subversion with no luck, and then went on to Git - so I have downloaded it and am in the process of setting it up. Rob Whitener Test Automation Specialist GXS Tim Tebow can divide by zero. From: eventmachine-talk-bounces at rubyforge.org<mailto:eventmachine-talk-bounces at rubyforge.org> [mailto:eventmachine-talk-bounces at rubyforge.org<mailto:eventmachine-talk-bounces at rubyforge.org>] On Behalf Of Jake Douglas Sent: Thursday, March 26, 2009 11:50 AM To: eventmachine-talk at rubyforge.org<mailto:eventmachine-talk at rubyforge.org> Subject: Re: [Eventmachine-talk] problem with FileWatcher Hi Robert, The file watching was implemented shortly after 0.12.6 was released. You''ll need to pull from the git repository: git clone git://github.com/eventmachine/eventmachine.git<http://github.com/eventmachine/eventmachine.git> 2009/3/26 <Robert.Whitener at gxs.com<mailto:Robert.Whitener at gxs.com>> Hi, I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 system. I really wanted to utilize the file watching API, but unfortunately I don''t see filewatcher.rb in lib/em, and also in eventmachine.rb I don''t see the "self.watch()" method definition (indicated in the documentation here: http://eventmachine.rubyforge.org/EventMachine.html#M000406 did I pull the wrong version? Should I have pulled from SVN instead? Thanks. Rob Whitener Test Automation Specialist GXS _______________________________________________ Eventmachine-talk mailing list Eventmachine-talk at rubyforge.org<mailto:Eventmachine-talk at rubyforge.org> http://rubyforge.org/mailman/listinfo/eventmachine-talk -- Jake Douglas 206-795-9207 _______________________________________________ Eventmachine-talk mailing list Eventmachine-talk at rubyforge.org<mailto:Eventmachine-talk at rubyforge.org> http://rubyforge.org/mailman/listinfo/eventmachine-talk -- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/134799d8/attachment.html>
All these things I never knew ;) Thanks Aman 2009/3/26 Aman Gupta <themastermind1 at gmail.com>> It looks like someone forgot to remove the "docs/README" from the gemspec > though, on a recent change. For now, open up eventmachine.gemspec in your > editor and remove all the references to "docs/README". The above commands > should then work and install the gem in your normal gem directory, so you > can require it as you usually would. We''ll fix the gemspec shortly. > > > Oops. rake gemspec will generate a new one with the proper paths. > > > > > By the way, I''ve been laughing on and off for about an hour about your Tim > Tebow remark ;) > > > 2009/3/26 < <Robert.Whitener at gxs.com>Robert.Whitener at gxs.com> > >> Ok, I thought I was on my way but not so sure now. I compiled the >> EventMachine source using ?rake build?, however I did this in an arbitrary >> directory on my machine so when I try and run a script using EventMachine it >> fails. >> >> >> >> Where should I have put the source to compile in order to pull it into >> ruby?s space or, is there a way to create a Gem from the source that I can >> just put into the gems folder? >> >> >> >> Thanks, >> >> >> >> Rob Whitener >> >> Test Automation Specialist >> >> GXS >> >> >> >> Tim Tebow can divide by zero. >> >> *From:* <eventmachine-talk-bounces at rubyforge.org> >> eventmachine-talk-bounces at rubyforge.org [mailto:<eventmachine-talk-bounces at rubyforge.org> >> eventmachine-talk-bounces at rubyforge.org] *On Behalf Of *<Robert.Whitener at gxs.com> >> Robert.Whitener at gxs.com >> *Sent:* Thursday, March 26, 2009 11:56 AM >> >> *To:* <eventmachine-talk at rubyforge.org>eventmachine-talk at rubyforge.org >> *Subject:* Re: [Eventmachine-talk] problem with FileWatcher >> >> >> >> Thanks for the quick reply! Right after I posted the email I checked >> subversion with no luck, and then went on to Git ? so I have downloaded it >> and am in the process of setting it up. >> >> >> >> Rob Whitener >> >> Test Automation Specialist >> >> GXS >> >> >> >> Tim Tebow can divide by zero. >> >> *From:* <eventmachine-talk-bounces at rubyforge.org> >> eventmachine-talk-bounces at rubyforge.org [mailto:<eventmachine-talk-bounces at rubyforge.org> >> eventmachine-talk-bounces at rubyforge.org] *On Behalf Of *Jake Douglas >> *Sent:* Thursday, March 26, 2009 11:50 AM >> *To:* <eventmachine-talk at rubyforge.org>eventmachine-talk at rubyforge.org >> *Subject:* Re: [Eventmachine-talk] problem with FileWatcher >> >> >> >> Hi Robert, >> >> The file watching was implemented shortly after 0.12.6 was released. >> You''ll need to pull from the git repository: >> >> git clone git://github.com/eventmachine/eventmachine.git >> >> 2009/3/26 < <Robert.Whitener at gxs.com>Robert.Whitener at gxs.com> >> >> Hi, >> >> >> >> I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 >> system. I really wanted to utilize the file watching API, but unfortunately >> I don?t see filewatcher.rb in lib/em, and also in eventmachine.rb I don?t >> see the ?self.watch()? method definition (indicated in the documentation >> here: >> >> <http://eventmachine.rubyforge.org/EventMachine.html#M000406> >> http://eventmachine.rubyforge.org/EventMachine.html#M000406 >> >> >> >> did I pull the wrong version? Should I have pulled from SVN instead? >> >> >> >> Thanks. >> >> >> >> Rob Whitener >> >> Test Automation Specialist >> >> GXS >> >> >> >> >> >> >> _______________________________________________ >> Eventmachine-talk mailing list >> <Eventmachine-talk at rubyforge.org>Eventmachine-talk at rubyforge.org >> <http://rubyforge.org/mailman/listinfo/eventmachine-talk> >> http://rubyforge.org/mailman/listinfo/eventmachine-talk >> >> >> >> >> -- >> Jake Douglas >> 206-795-9207 >> >> _______________________________________________ >> Eventmachine-talk mailing list >> <Eventmachine-talk at rubyforge.org>Eventmachine-talk at rubyforge.org >> <http://rubyforge.org/mailman/listinfo/eventmachine-talk> >> http://rubyforge.org/mailman/listinfo/eventmachine-talk >> > > > > -- > Jake Douglas > 206-795-9207 > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >-- Jake Douglas 206-795-9207 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/eventmachine-talk/attachments/20090326/a6d58a8b/attachment-0001.html>
Its possible you''re missing the kernel headers. Try: up2date install glibc-kernheaders kernel-devel If you''re still having issues, pastie.org the output of cat $(dirname `gem which eventmachine | tail -1`)/../ext/mkmf.log Aman 2009/3/26 <Robert.Whitener at gxs.com>:> Jake, > > > > Thanks for that tip ? it got me to where I could run my script, but sadly I > got this error: > > > > [BUG] rb_sys_fail(no file watching support on this system) - errno == 0 > > > > So I don?t think we have inotify set up on our system.? Bummer. > > > > Glad to hear you like my Tebow remark, it gave me the chuckles too when I > came across it. > > > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org > [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Jake Douglas > Sent: Thursday, March 26, 2009 12:56 PM > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Robert, > > Normally you would be able to do: > > gem build eventmachine.gemspec (this creates a .gem file) > sudo gem install eventmachine-<version>.gem > > It looks like someone forgot to remove the "docs/README" from the gemspec > though, on a recent change. For now, open up eventmachine.gemspec in your > editor and remove all the references to "docs/README". The above commands > should then work and install the gem in your normal gem directory, so you > can require it as you usually would. We''ll fix the gemspec shortly. > > By the way, I''ve been laughing on and off for about an hour about your Tim > Tebow remark ;) > > 2009/3/26 <Robert.Whitener at gxs.com> > > Ok, I thought I was on my way but not so sure now.? I compiled the > EventMachine source using ?rake build?, however I did this in an arbitrary > directory on my machine so when I try and run a script using EventMachine it > fails. > > > > Where should I have put the source to compile in order to pull it into > ruby?s space or, is there a way to create a Gem from the source that I can > just put into the gems folder? > > > > Thanks, > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org > [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of > Robert.Whitener at gxs.com > Sent: Thursday, March 26, 2009 11:56 AM > > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Thanks for the quick reply! Right after I posted the email I checked > subversion with no luck, and then went on to Git ? so I have downloaded it > and am in the process of setting it up. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > Tim Tebow can divide by zero. > > From: eventmachine-talk-bounces at rubyforge.org > [mailto:eventmachine-talk-bounces at rubyforge.org] On Behalf Of Jake Douglas > Sent: Thursday, March 26, 2009 11:50 AM > To: eventmachine-talk at rubyforge.org > Subject: Re: [Eventmachine-talk] problem with FileWatcher > > > > Hi Robert, > > The file watching was implemented shortly after 0.12.6 was released. You''ll > need to pull from the git repository: > > git clone git://github.com/eventmachine/eventmachine.git > > 2009/3/26 <Robert.Whitener at gxs.com> > > Hi, > > > > I have recently installed eventmachine 0.12.6 via gem onto an RHEL 4 > system.? I really wanted to utilize the file watching API, but unfortunately > I don?t see filewatcher.rb in lib/em, and also in eventmachine.rb I don?t > see the ?self.watch()? method definition (indicated in the documentation > here: > > http://eventmachine.rubyforge.org/EventMachine.html#M000406 > > > > did I pull the wrong version?? Should I have pulled from SVN instead? > > > > Thanks. > > > > Rob Whitener > > Test Automation Specialist > > GXS > > > > > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > -- > Jake Douglas > 206-795-9207 > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk > > > -- > Jake Douglas > 206-795-9207 > > _______________________________________________ > Eventmachine-talk mailing list > Eventmachine-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/eventmachine-talk >