From ryan.daigle at gmail.com Wed Aug 1 07:12:28 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Wed, 1 Aug 2007 07:12:28 -0400 Subject: [raleigh.rb] Hoedown Reminder & Request In-Reply-To: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> References: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> Message-ID: <748ff3ff0708010412n511d1508kfc1dcd13f9e96ef2@mail.gmail.com> Count me in for Saturday at least. On 7/31/07, Nathaniel Talbott wrote: > > Hello all, > > First of all, I wanted to remind everyone that the Hoedown's a mere 10 > days away, and if you haven't gotten around to registering yet, YOU > SHOULD DO THAT NOW!!! ;-) > > Secondly, I need 6 volunteers for Friday, and another 6 for Saturday. > Volunteering basically amounts to showing up at least 30 minutes > early, helping out throughout the day (don't worry, we'll make sure > you get to see the sessions!) and planning on staying an extra half > hour or so afterwards to help us clean up. If you can help, drop me an > email back, and let me know if one of the days works better for you > than the other one. > > Thanks all! > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070801/a37f45a0/attachment.html From larry.karnowski at gmail.com Wed Aug 1 16:47:22 2007 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Wed, 1 Aug 2007 16:47:22 -0400 Subject: [raleigh.rb] Hoedown Reminder & Request In-Reply-To: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> References: <4ce336a20707311935g329efdfel3874613d5567c675@mail.gmail.com> Message-ID: <2b27183e0708011347t2a6523a7l41275ad7d37fa93@mail.gmail.com> Nathaniel, I can help on Saturday. Just let me know when/where/what to do. Larry On 7/31/07, Nathaniel Talbott wrote: > Hello all, > > First of all, I wanted to remind everyone that the Hoedown's a mere 10 > days away, and if you haven't gotten around to registering yet, YOU > SHOULD DO THAT NOW!!! ;-) > > Secondly, I need 6 volunteers for Friday, and another 6 for Saturday. > Volunteering basically amounts to showing up at least 30 minutes > early, helping out throughout the day (don't worry, we'll make sure > you get to see the sessions!) and planning on staying an extra half > hour or so afterwards to help us clean up. If you can help, drop me an > email back, and let me know if one of the days works better for you > than the other one. > > Thanks all! > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From geoff at geoffdavis.net Thu Aug 2 15:02:56 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Thu, 2 Aug 2007 15:02:56 -0400 Subject: [raleigh.rb] Nginx - experiences? Message-ID: <4D2EEA90-B901-44CD-AF9D-922097496BE9@geoffdavis.net> There was some interesting buzz about Nginx at RubyConf, but I heard both good things (crazy fast) and scary things (weird instabilities at times). As best I can tell, it has the main Apache features I use - equivalents of mod_rewrite / mod_proxy / mod_deflate / mod_expires / ssi Have people tried it? What's the verdict? What kinds of speedups have you seen for static content? For dynamic? Geoff From lists-jared at nc.rr.com Thu Aug 2 21:07:12 2007 From: lists-jared at nc.rr.com (Jared Richardson) Date: Thu, 2 Aug 2007 21:07:12 -0400 Subject: [raleigh.rb] Nginx - experiences? In-Reply-To: <4D2EEA90-B901-44CD-AF9D-922097496BE9@geoffdavis.net> References: <4D2EEA90-B901-44CD-AF9D-922097496BE9@geoffdavis.net> Message-ID: I love Nginx. I've not heard that it's substantially faster than Apache, but it's much easier to configure and uses less memory. I've had no stability issues from it (but I'm also running a pretty light load on it). Here's my take on it (including sample config files) http://agileartisans.com/main/blog/31 Jared http://AgileArtisans.com --------------------------------- On Aug 2, 2007, at 3:02 PM |Aug/2, Geoff Davis wrote: There was some interesting buzz about Nginx at RubyConf, but I heard both good things (crazy fast) and scary things (weird instabilities at times). As best I can tell, it has the main Apache features I use - equivalents of mod_rewrite / mod_proxy / mod_deflate / mod_expires / ssi Have people tried it? What's the verdict? What kinds of speedups have you seen for static content? For dynamic? Geoff _______________________________________________ raleigh-rb-members mailing list raleigh-rb-members at rubyforge.org http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070802/6301ac97/attachment.html From wesleyzhang2005 at gmail.com Tue Aug 7 10:41:45 2007 From: wesleyzhang2005 at gmail.com (Wesley Zhang) Date: Tue, 7 Aug 2007 10:41:45 -0400 Subject: [raleigh.rb] How to fix: "C:0:Warning: require_gem is obsolete. Use gem instead." Message-ID: Hi all, I installed Scruffy 0.2.2 version and Ruby 1.8.6 on my winXP machine. When my ruby code execute require 'scruffy' It always complaints "C:0:Warning: require_gem is obsolete. Use gem instead." It only happens when "require 'scruffy'' package is loaded. Other package is ok. I searched internet, didn't find any leads. Anyone can shed some light on it? Thanks, --\\Wesley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/35c23031/attachment-0001.html From mark.bennett.mail at gmail.com Tue Aug 7 10:48:45 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Tue, 7 Aug 2007 10:48:45 -0400 Subject: [raleigh.rb] How to fix: "C:0:Warning: require_gem is obsolete. Use gem instead." In-Reply-To: References: Message-ID: This happens a lot. It means they used the method require_gem instead of the gem method somewhere in the plugin. Its not fatal until they yank out the require_gem method. You can monkey patch it or try to get them to fix it before the method gets deleted. Mark On 8/7/07, Wesley Zhang wrote: > > > Hi all, > > I installed Scruffy 0.2.2 version and Ruby 1.8.6 on my winXP machine. When > my ruby code execute > require 'scruffy' > > It always complaints "C:0:Warning: require_gem is obsolete. Use gem > instead." It only happens when "require 'scruffy'' package is loaded. Other > package is ok. > > I searched internet, didn't find any leads. Anyone can shed some light on > it? > > Thanks, > > --\\Wesley > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/42695a6a/attachment.html From wesleyzhang2005 at gmail.com Tue Aug 7 15:07:17 2007 From: wesleyzhang2005 at gmail.com (Wesley Zhang) Date: Tue, 7 Aug 2007 15:07:17 -0400 Subject: [raleigh.rb] How to fix: "C:0:Warning: require_gem is obsolete. Use gem instead." In-Reply-To: References: Message-ID: Thanks, Mark. Finally found the phrase in scruffy. Be careful about windows' built-in search, somehow it doesn't report the files containing "require_gem" even though I asked it to search the file content for such phrase. Wesley On 8/7/07, Mark Bennett wrote: > > This happens a lot. It means they used the method require_gem instead of > the gem method somewhere in the plugin. Its not fatal until they yank out > the require_gem method. You can monkey patch it or try to get them to fix > it before the method gets deleted. > > Mark > > On 8/7/07, Wesley Zhang wrote: > > > > > Hi all, > > > > I installed Scruffy 0.2.2 version and Ruby 1.8.6 on my winXP machine. > > When my ruby code execute > > require 'scruffy' > > > > It always complaints "C:0:Warning: require_gem is obsolete. Use gem > > instead." It only happens when "require 'scruffy'' package is loaded. Other > > package is ok. > > > > I searched internet, didn't find any leads. Anyone can shed some light > > on it? > > > > Thanks, > > > > --\\Wesley > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- --\\Wesley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/172c943e/attachment.html From nospam at tonyspencer.com Tue Aug 7 15:44:40 2007 From: nospam at tonyspencer.com (Tony Spencer) Date: Tue, 7 Aug 2007 15:44:40 -0400 Subject: [raleigh.rb] Multiple users ssh keys with capistrano Message-ID: I've been unable to get capistrano to let us list more than one user's ssh keys in a project. According to the commented out line you just need to add as many paths to ssh keys as you like separated by a space: ssh_options[:keys] = %w(/Users/tony/.ssh/id_rsa /Users/joe/.ssh/id_rsa) But whenever I list more than one key it fails. If I'm on user "joe"'s machine it complains that /Users/tony/.ssh/id_rsa.pub does not exist and vice versa. Has anyone been able to setup multiple team members ssh keys with cap setup_ssh_keys ? Tony From pelargir at gmail.com Tue Aug 7 15:58:55 2007 From: pelargir at gmail.com (Matthew) Date: Tue, 7 Aug 2007 15:58:55 -0400 Subject: [raleigh.rb] Multiple users ssh keys with capistrano In-Reply-To: References: Message-ID: What error is it failing with? Matthew On 8/7/07, Tony Spencer wrote: > > I've been unable to get capistrano to let us list more than one > user's ssh keys in a project. According to the commented out line > you just need to add as many paths to ssh keys as you like separated > by a space: > > ssh_options[:keys] = %w(/Users/tony/.ssh/id_rsa /Users/joe/.ssh/id_rsa) > > But whenever I list more than one key it fails. If I'm on user > "joe"'s machine it complains that /Users/tony/.ssh/id_rsa.pub does > not exist and vice versa. Has anyone been able to setup multiple > team members ssh keys with cap setup_ssh_keys ? > > Tony > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/cac75f89/attachment.html From nospam at tonyspencer.com Tue Aug 7 16:04:05 2007 From: nospam at tonyspencer.com (NoSpam) Date: Tue, 7 Aug 2007 16:04:05 -0400 Subject: [raleigh.rb] Multiple users ssh keys with capistrano In-Reply-To: References: Message-ID: I don't have it in front of me right now but it says that the path cannot be found. Remove all paths except the correct one for the machine I'm currently on and it runs fine. On Aug 7, 2007, at 3:58 PM, Matthew wrote: > What error is it failing with? > > Matthew > > > On 8/7/07, Tony Spencer < nospam at tonyspencer.com> wrote: > I've been unable to get capistrano to let us list more than one > user's ssh keys in a project. According to the commented out line > you just need to add as many paths to ssh keys as you like separated > by a space: > > ssh_options[:keys] = %w(/Users/tony/.ssh/id_rsa /Users/joe/.ssh/ > id_rsa) > > But whenever I list more than one key it fails. If I'm on user > "joe"'s machine it complains that /Users/tony/.ssh/id_rsa.pub does > not exist and vice versa. Has anyone been able to setup multiple > team members ssh keys with cap setup_ssh_keys ? > > Tony > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/9cfd7f45/attachment.html From pelargir at gmail.com Tue Aug 7 16:09:57 2007 From: pelargir at gmail.com (Matthew) Date: Tue, 7 Aug 2007 16:09:57 -0400 Subject: [raleigh.rb] Multiple users ssh keys with capistrano In-Reply-To: References: Message-ID: You might try defining the array without using the %w syntax. Some of the chars in the paths might be confusing it. Matthew On 8/7/07, NoSpam wrote: > > I don't have it in front of me right now but it says that the path cannot > be found. Remove all paths except the correct one for the machine I'm > currently on and it runs fine. > > > > > > On Aug 7, 2007, at 3:58 PM, Matthew wrote: > > What error is it failing with? > > Matthew > > > On 8/7/07, Tony Spencer < nospam at tonyspencer.com > > wrote: > > > > I've been unable to get capistrano to let us list more than one > > user's ssh keys in a project. According to the commented out line > > you just need to add as many paths to ssh keys as you like separated > > by a space: > > > > ssh_options[:keys] = %w(/Users/tony/.ssh/id_rsa /Users/joe/.ssh/id_rsa) > > > > But whenever I list more than one key it fails. If I'm on user > > "joe"'s machine it complains that /Users/tony/.ssh/id_rsa.pub does > > not exist and vice versa. Has anyone been able to setup multiple > > team members ssh keys with cap setup_ssh_keys ? > > > > Tony > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/8ce1e557/attachment-0001.html From adam at thewilliams.ws Tue Aug 7 16:46:33 2007 From: adam at thewilliams.ws (Adam Williams) Date: Tue, 7 Aug 2007 16:46:33 -0400 Subject: [raleigh.rb] Multiple users ssh keys with capistrano In-Reply-To: References: Message-ID: <68199775-9DA8-41F6-A2FC-7E7242F8385B@thewilliams.ws> Isn't it more correct to have that line in ~/.caprc? aiwilliams On Aug 7, 2007, at 4:09 PM, Matthew wrote: > You might try defining the array without using the %w syntax. Some > of the chars in the paths might be confusing it. > > Matthew > > > On 8/7/07, NoSpam wrote: > I don't have it in front of me right now but it says that the path > cannot be found. Remove all paths except the correct one for the > machine I'm currently on and it runs fine. > > > > > > > On Aug 7, 2007, at 3:58 PM, Matthew wrote: > >> What error is it failing with? >> >> >> Matthew >> >> >> On 8/7/07, Tony Spencer < nospam at tonyspencer.com> wrote:I've been >> unable to get capistrano to let us list more than one >> user's ssh keys in a project. According to the commented out line >> you just need to add as many paths to ssh keys as you like separated >> by a space: >> >> ssh_options[:keys] = %w(/Users/tony/.ssh/id_rsa /Users/joe/.ssh/ >> id_rsa) >> >> But whenever I list more than one key it fails. If I'm on user >> "joe"'s machine it complains that /Users/tony/.ssh/id_rsa.pub does >> not exist and vice versa. Has anyone been able to setup multiple >> team members ssh keys with cap setup_ssh_keys ? >> >> Tony >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From wesleyzhang2005 at gmail.com Tue Aug 7 23:48:46 2007 From: wesleyzhang2005 at gmail.com (Wesley Zhang) Date: Tue, 7 Aug 2007 23:48:46 -0400 Subject: [raleigh.rb] how to use Scruffy with rails? Message-ID: I am trying to build a web report page with scruffy as my graphic generator. Is there any scruffy plugin or tag that I could use to directly embed scruffy chart in my view page? Thanks for any lead! Wesley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070807/a19e9652/attachment.html From mark.bennett.mail at gmail.com Wed Aug 8 08:19:12 2007 From: mark.bennett.mail at gmail.com (Mark Bennett) Date: Wed, 8 Aug 2007 08:19:12 -0400 Subject: [raleigh.rb] how to use Scruffy with rails? In-Reply-To: References: Message-ID: Try the send_data method in your action controller. http://api.rubyonrails.com/classes/ActionController/Streaming.html Mark On 8/7/07, Wesley Zhang wrote: > > > I am trying to build a web report page with scruffy as my graphic > generator. Is there any scruffy plugin or tag that I could use to directly > embed scruffy chart in my view page? > > Thanks for any lead! > > Wesley > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070808/4e20828c/attachment.html From nospam at tonyspencer.com Wed Aug 8 11:34:04 2007 From: nospam at tonyspencer.com (NoSpam) Date: Wed, 8 Aug 2007 11:34:04 -0400 Subject: [raleigh.rb] Multiple users ssh keys with capistrano In-Reply-To: References: Message-ID: <178E6D1D-2C56-4E77-AC78-3AE49AE48B68@tonyspencer.com> Ok we tried this syntax but still it blows up on the first directory it doesn't find. Wonder if its a bug: ssh_options[:keys] = ['/Users/tony/.ssh/id_rsa', '/Users/joe/.ssh/ id_rsa'] On Aug 7, 2007, at 4:09 PM, Matthew wrote: > You might try defining the array without using the %w syntax. Some > of the chars in the paths might be confusing it. > > Matthew > > > On 8/7/07, NoSpam wrote: > I don't have it in front of me right now but it says that the path > cannot be found. Remove all paths except the correct one for the > machine I'm currently on and it runs fine. > > > > > > > On Aug 7, 2007, at 3:58 PM, Matthew wrote: > >> What error is it failing with? >> >> >> Matthew >> >> >> On 8/7/07, Tony Spencer < nospam at tonyspencer.com> wrote: >> I've been unable to get capistrano to let us list more than one >> user's ssh keys in a project. According to the commented out line >> you just need to add as many paths to ssh keys as you like separated >> by a space: >> >> ssh_options[:keys] = %w(/Users/tony/.ssh/id_rsa /Users/joe/.ssh/ >> id_rsa) >> >> But whenever I list more than one key it fails. If I'm on user >> "joe"'s machine it complains that /Users/tony/.ssh/id_rsa.pub does >> not exist and vice versa. Has anyone been able to setup multiple >> team members ssh keys with cap setup_ssh_keys ? >> >> Tony >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070808/5a979e97/attachment.html From wesleyzhang2005 at gmail.com Wed Aug 8 16:59:44 2007 From: wesleyzhang2005 at gmail.com (Wesley Zhang) Date: Wed, 8 Aug 2007 16:59:44 -0400 Subject: [raleigh.rb] Display information on global map Message-ID: Hi All, This question might not be rails specific. But I would appreciate any pointers. I would like to display some geographic information overlaid on globe map in my rails app, like the one in http://www.internettrafficreport.com/ Google map is not a choice due to the requirement. Anyone can provide some leads? Thanks, Wesley -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070808/005b190d/attachment.html From nathaniel at talbott.ws Fri Aug 10 09:52:33 2007 From: nathaniel at talbott.ws (Nathaniel Talbott) Date: Fri, 10 Aug 2007 09:52:33 -0400 Subject: [raleigh.rb] Wireless routers for Hoedown Message-ID: <4ce336a20708100652j6b9734ew44300eb14b17f763@mail.gmail.com> If you're coming out to the Hoedown and have a spare wireless router you could bring, that would be SWEET! We have one up and running now, but it will probably be overloaded by the full conference traffic. If you do bring one, be sure to put your name on, and just find me when you arrive and I'll help you get it hooked up. Thanks, -- Nathaniel Talbott <:((>< From larry.karnowski at gmail.com Fri Aug 10 10:18:21 2007 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Fri, 10 Aug 2007 10:18:21 -0400 Subject: [raleigh.rb] Wireless routers for Hoedown In-Reply-To: <4ce336a20708100652j6b9734ew44300eb14b17f763@mail.gmail.com> References: <4ce336a20708100652j6b9734ew44300eb14b17f763@mail.gmail.com> Message-ID: <2b27183e0708100718g1de5ec3cl38b6312f6f241940@mail.gmail.com> And power strips never hurt. On 8/10/07, Nathaniel Talbott wrote: > If you're coming out to the Hoedown and have a spare wireless router > you could bring, that would be SWEET! We have one up and running now, > but it will probably be overloaded by the full conference traffic. > > If you do bring one, be sure to put your name on, and just find me > when you arrive and I'll help you get it hooked up. > > Thanks, > > > -- > Nathaniel Talbott > <:((>< > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From jared.haworth at gmail.com Tue Aug 14 10:31:22 2007 From: jared.haworth at gmail.com (Jared Haworth) Date: Tue, 14 Aug 2007 10:31:22 -0400 Subject: [raleigh.rb] New Local Rails App - Your Garage Online Message-ID: <82DEA308-3526-465B-BFF4-0F69F0056622@gmail.com> Hi everyone, I wanted to let you all know about my newest creation, Your Garage Online. It's a Rails application designed to simplify the tracking of vehicle repair records. My car is constantly in the shop, and I needed an easy way to look up the dates (and costs) of prior services for my numerous repairs. My old system consisted of a file folder and a lot of small slips of carbon paper. Your Garage Online changes all that, with searchable repair forms and a personal, virtual garage which can hold up to three cars. A little backstory: I conceived this idea in late 2006, and was keeping it on the back burner as a potential RailsDay 2007 project. Believing that RailsDay was not going to happen this year, and wanting to put into practice the cool things I was learning at Railsconf, I forged ahead on the application, only to bring it online, and then hear about the Rails Rumble! The application can be found at -- Check it out, I'd love to hear any and all feedback! -- Jared -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2429 bytes Desc: not available Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070814/74d2a3e1/attachment-0001.bin From ruby at bandkbroom.com Tue Aug 14 20:10:31 2007 From: ruby at bandkbroom.com (Brian Broom) Date: Tue, 14 Aug 2007 20:10:31 -0400 Subject: [raleigh.rb] asterisknow setup Message-ID: Has anyone played with this? I am interested in looking at it because of the hoedown talk, and downloaded the vmware image. The only thing I get is a web page with a login screen. When I login, it asks me to change the pwd, but doesn't take the change. I see no config info at all. It seems like something is really not working right, but I have no idea what that might be. Thanks Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070814/6e412c62/attachment.html From lists-jared at nc.rr.com Wed Aug 15 18:52:03 2007 From: lists-jared at nc.rr.com (Jared) Date: Wed, 15 Aug 2007 18:52:03 -0400 Subject: [raleigh.rb] Hoedown pix and thanks! Message-ID: <831F7D22-14C6-4298-BEB9-B90265EDDFC7@nc.rr.com> I've finally uploaded my shots of the conference. http://www.flickr.com/photos/38701974 at N00/sets/72157601465277925/ and there are plenty more out there. Flickr says over 200! http://www.flickr.com/photos/tags/rubyhoedown/ I'd like to say "Thanks" to Nathaniel, Jeremy, and everyone who worked behind the scenes. Having local events like this is great for the community and all of us! Thanks guys! Jared http://AgileArtisans.com From pelargir at gmail.com Tue Aug 21 11:51:41 2007 From: pelargir at gmail.com (Matthew) Date: Tue, 21 Aug 2007 11:51:41 -0400 Subject: [raleigh.rb] Pre-meeting chow Message-ID: As usual, anyone who's available is invited to meet at 5:30 tonight at Baja Burrito (http://rubyurl.com/CGF) to grab dinner and some Ruby chatter before heading over to Red Hat for the meeting. (I won't be able to make it dinner unfortunately, but I'll catch you guys at the meeting.) While by no means required, a quick RSVP (just reply to this email with "In!" or somesuch) would be great. Thanks,Matthew -- matthewbass.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070821/f990544a/attachment.html From larry.karnowski at gmail.com Tue Aug 21 11:54:40 2007 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Tue, 21 Aug 2007 11:54:40 -0400 Subject: [raleigh.rb] Example script to generate RPMs for all installed Gems In-Reply-To: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> References: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> Message-ID: <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> All, Here's a quick script I used to package ALL of the installed gems on my CentOS 4.3 system as RPMs. First, you'll need to: $ gem install --remote gem2rpm Also note this will clobber your ~/.rpmmacros file and ~/rpm directory if you have them. However, it will let you build all of the Gems into binary RPMs without needing to be root. Hope this helps someone, Larry -------------- next part -------------- A non-text attachment was scrubbed... Name: rpmgems.sh Type: application/x-sh Size: 863 bytes Desc: not available Url : http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070821/a9d25cb8/attachment.sh From brenton.leanhardt at gmail.com Tue Aug 21 22:09:14 2007 From: brenton.leanhardt at gmail.com (brenton leanhardt) Date: Tue, 21 Aug 2007 22:09:14 -0400 Subject: [raleigh.rb] slides and code Message-ID: <7c0835400708211909y5dcb9435sdc138aa7ac7659d9@mail.gmail.com> I have the slides and code from the selenium-rc talk available on my S3 account. I extended the code sample we worked through a little bit and I ran it to make sure it worked. I thought it would be clever of me to have the test actually make a purchase, but I figured not everyone would see the humor. :) grab 'em while they're hot: https://s3.amazonaws.com/public.brenton/selenium.pdf?AWSAccessKeyId=0JR20XWZ7G88ZDZ35HG2&Expires=1188352276&Signature=q5k506Jmf85VVn7Nc5qbtPQNipE%3D https://s3.amazonaws.com/public.brenton/redhat_store.rb?AWSAccessKeyId=0JR20XWZ7G88ZDZ35HG2&Expires=1188352388&Signature=SokLNL78ENYsKbFp0a8%2FYX5pGus%3D Also, in light of the previous month's talk on presentation skills feel free to email me some (constructive) criticism on how I could improve the talk. --Brenton -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070821/cf897bc3/attachment.html From nospam at tonyspencer.com Fri Aug 24 09:59:09 2007 From: nospam at tonyspencer.com (NoSpam) Date: Fri, 24 Aug 2007 09:59:09 -0400 Subject: [raleigh.rb] rescue isn't working Message-ID: I've written some code that is parsing a large number of files with Hpricot. I've surrounded the parsing chunk including creating the Hpricot doc with begin... rescue as I just want to keep chugging if one of the files can't be parsed for some reason. However, mongrel is dying and this is reported in the console: /usr/local/lib/ruby/gems/1.8/gems/hpricot-0.5/lib/hpricot/parse.rb: 136: [BUG] rb_gc_mark(): unknown data type 0x30(0x1ecdc8) non object ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] Abort trap Any suggestions? From nospam at tonyspencer.com Fri Aug 24 10:03:19 2007 From: nospam at tonyspencer.com (NoSpam) Date: Fri, 24 Aug 2007 10:03:19 -0400 Subject: [raleigh.rb] rescue isn't working In-Reply-To: References: Message-ID: <3C1EC9AD-6F2F-4662-A9E9-A11617F62267@tonyspencer.com> Altering my Google query seemed to have found the answer. We'll see if 1.8.5 fixes it: http://code.whytheluckystiff.net/hpricot/ticket/21 On Aug 24, 2007, at 9:59 AM, NoSpam wrote: > I've written some code that is parsing a large number of files with > Hpricot. I've surrounded the parsing chunk including creating the > Hpricot doc with begin... rescue as I just want to keep chugging if > one of the files can't be parsed for some reason. However, mongrel > is dying and this is reported in the console: > > /usr/local/lib/ruby/gems/1.8/gems/hpricot-0.5/lib/hpricot/parse.rb: > 136: [BUG] rb_gc_mark(): unknown data type 0x30(0x1ecdc8) non object > ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] > > Abort trap > > Any suggestions? > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070824/10da04b9/attachment.html From nospam at tonyspencer.com Fri Aug 24 12:02:39 2007 From: nospam at tonyspencer.com (NoSpam) Date: Fri, 24 Aug 2007 12:02:39 -0400 Subject: [raleigh.rb] rescue isn't working In-Reply-To: <3C1EC9AD-6F2F-4662-A9E9-A11617F62267@tonyspencer.com> References: <3C1EC9AD-6F2F-4662-A9E9-A11617F62267@tonyspencer.com> Message-ID: <9A7FC1F0-90E0-4728-8D9A-1140C7D73C36@tonyspencer.com> Hehehehe, upgrading to 1.8.6 stopped the abort issue but it just hung on parsing the same file. Checked out the file and it was over 1GB of text. :) On Aug 24, 2007, at 10:03 AM, NoSpam wrote: > Altering my Google query seemed to have found the answer. We'll > see if 1.8.5 fixes it: > http://code.whytheluckystiff.net/hpricot/ticket/21 > > > > > On Aug 24, 2007, at 9:59 AM, NoSpam wrote: > >> I've written some code that is parsing a large number of files >> with Hpricot. I've surrounded the parsing chunk including >> creating the Hpricot doc with begin... rescue as I just want to >> keep chugging if one of the files can't be parsed for some >> reason. However, mongrel is dying and this is reported in the >> console: >> >> /usr/local/lib/ruby/gems/1.8/gems/hpricot-0.5/lib/hpricot/parse.rb: >> 136: [BUG] rb_gc_mark(): unknown data type 0x30(0x1ecdc8) non object >> ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] >> >> Abort trap >> >> Any suggestions? >> > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070824/255c62b0/attachment-0001.html From geoff at geoffdavis.net Fri Aug 24 12:06:28 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Fri, 24 Aug 2007 12:06:28 -0400 Subject: [raleigh.rb] rescue isn't working In-Reply-To: <9A7FC1F0-90E0-4728-8D9A-1140C7D73C36@tonyspencer.com> References: <3C1EC9AD-6F2F-4662-A9E9-A11617F62267@tonyspencer.com> <9A7FC1F0-90E0-4728-8D9A-1140C7D73C36@tonyspencer.com> Message-ID: You might try Rubyful Soup (or Beautiful Soup if you can deal with forking to a python process). Rubyful Soup is kind of slow, but it might be more robust than Hpricot. http://www.crummy.com/software/RubyfulSoup/ On Aug 24, 2007, at 12:02 PM, NoSpam wrote: > Hehehehe, upgrading to 1.8.6 stopped the abort issue but it just > hung on parsing the same file. Checked out the file and it was > over 1GB of text. :) > > > > On Aug 24, 2007, at 10:03 AM, NoSpam wrote: > >> Altering my Google query seemed to have found the answer. We'll >> see if 1.8.5 fixes it: >> http://code.whytheluckystiff.net/hpricot/ticket/21 >> >> >> >> >> On Aug 24, 2007, at 9:59 AM, NoSpam wrote: >> >>> I've written some code that is parsing a large number of files >>> with Hpricot. I've surrounded the parsing chunk including >>> creating the Hpricot doc with begin... rescue as I just want to >>> keep chugging if one of the files can't be parsed for some >>> reason. However, mongrel is dying and this is reported in the >>> console: >>> >>> /usr/local/lib/ruby/gems/1.8/gems/hpricot-0.5/lib/hpricot/ >>> parse.rb:136: [BUG] rb_gc_mark(): unknown data type 0x30 >>> (0x1ecdc8) non object >>> ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] >>> >>> Abort trap >>> >>> Any suggestions? >>> >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070824/f76a639a/attachment.html From nospam at tonyspencer.com Fri Aug 24 12:12:02 2007 From: nospam at tonyspencer.com (NoSpam) Date: Fri, 24 Aug 2007 12:12:02 -0400 Subject: [raleigh.rb] rescue isn't working In-Reply-To: References: <3C1EC9AD-6F2F-4662-A9E9-A11617F62267@tonyspencer.com> <9A7FC1F0-90E0-4728-8D9A-1140C7D73C36@tonyspencer.com> Message-ID: Yeah I played with that some. Hpricot works fine for me I just need to figure out how to make HTTP.get bail if it downloads a web page that is over a few MB's so I don't end up with these huge files. I modified RDig some to create a multithreaded crawler that stores to flat files. It's pulling over 1k pages a minute on my Macbook Pro! On Aug 24, 2007, at 12:06 PM, Geoff Davis wrote: > You might try Rubyful Soup (or Beautiful Soup if you can deal with > forking to a python process). Rubyful Soup is kind of slow, but it > might be more robust than Hpricot. > > http://www.crummy.com/software/RubyfulSoup/ > > On Aug 24, 2007, at 12:02 PM, NoSpam wrote: > >> Hehehehe, upgrading to 1.8.6 stopped the abort issue but it just >> hung on parsing the same file. Checked out the file and it was >> over 1GB of text. :) >> >> >> >> On Aug 24, 2007, at 10:03 AM, NoSpam wrote: >> >>> Altering my Google query seemed to have found the answer. We'll >>> see if 1.8.5 fixes it: >>> http://code.whytheluckystiff.net/hpricot/ticket/21 >>> >>> >>> >>> >>> On Aug 24, 2007, at 9:59 AM, NoSpam wrote: >>> >>>> I've written some code that is parsing a large number of files >>>> with Hpricot. I've surrounded the parsing chunk including >>>> creating the Hpricot doc with begin... rescue as I just want to >>>> keep chugging if one of the files can't be parsed for some >>>> reason. However, mongrel is dying and this is reported in the >>>> console: >>>> >>>> /usr/local/lib/ruby/gems/1.8/gems/hpricot-0.5/lib/hpricot/ >>>> parse.rb:136: [BUG] rb_gc_mark(): unknown data type 0x30 >>>> (0x1ecdc8) non object >>>> ruby 1.8.4 (2005-12-24) [i686-darwin8.7.1] >>>> >>>> Abort trap >>>> >>>> Any suggestions? >>>> >>> >>> _______________________________________________ >>> raleigh-rb-members mailing list >>> raleigh-rb-members at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/raleigh-rb-members >> >> _______________________________________________ >> raleigh-rb-members mailing list >> raleigh-rb-members at rubyforge.org >> http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070824/2b8141df/attachment.html From geoff at geoffdavis.net Fri Aug 24 12:31:18 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Fri, 24 Aug 2007 12:31:18 -0400 Subject: [raleigh.rb] Joy! Doctest for Ruby Message-ID: <8DD5D867-EF1C-4B7C-923E-DF2427141082@geoffdavis.net> Finally! http://blog.ianbicking.org/2007/08/23/doctest-for-ruby/ http://clintonforbes.blogspot.com/2007/08/doctest-for-ruby-and- rails.html From pelargir at gmail.com Sat Aug 25 10:50:19 2007 From: pelargir at gmail.com (Matthew) Date: Sat, 25 Aug 2007 10:50:19 -0400 Subject: [raleigh.rb] Rails Rumble Message-ID: The Rails Rumble is coming up on September 8th: http://railsrumble.com Is anyone in raleigh.rb interested in forming a team and cooking up an entry? Reply to me here and we can work out the details. Teams are one to four people each. Matthew -- matthewbass.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070825/4ab68086/attachment-0001.html From adam at thewilliams.ws Sat Aug 25 17:53:51 2007 From: adam at thewilliams.ws (Adam Williams) Date: Sat, 25 Aug 2007 17:53:51 -0400 Subject: [raleigh.rb] Joy! Doctest for Ruby In-Reply-To: <8DD5D867-EF1C-4B7C-923E-DF2427141082@geoffdavis.net> References: <8DD5D867-EF1C-4B7C-923E-DF2427141082@geoffdavis.net> Message-ID: <527E1D79-1DB9-4562-A743-9E67DCCA7037@thewilliams.ws> Interesting. I've never heard of any form of doctest. It seems that here, http://clintonforbes.blogspot.com/2007/08/doctest-for-ruby-and- rails.html, in the attack on TDD, design is not a consideration. I don't TDD "to write lots of testing code, thousands upon thousands of carefully crafted assertions". It's to help me think, make things less dependent on one another, etc. The regression stuff is more of a wonderful side-effect ;) Thanks for the pointer. I tried to ignore BDD for a while too, and just converted, so we'll see. adam williams On Aug 24, 2007, at 12:31 PM, Geoff Davis wrote: > Finally! > > http://blog.ianbicking.org/2007/08/23/doctest-for-ruby/ > http://clintonforbes.blogspot.com/2007/08/doctest-for-ruby-and- > rails.html > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members From rsanheim at gmail.com Sun Aug 26 01:53:24 2007 From: rsanheim at gmail.com (Rob Sanheim) Date: Sun, 26 Aug 2007 01:53:24 -0400 Subject: [raleigh.rb] internet providers in the area? (offtopic?) Message-ID: My apologies if this is too far off topic for this group... I just moved to the area and want some advice on who to go with for internet access. I've heard Time Warner is horrible, but Bell South is even worse. Are there any other viable options? I'll be in Chapel Hill, btw. thanks, Rob -- http://robsanheim.com http://relevancellc.com From ryan.daigle at gmail.com Sun Aug 26 09:14:42 2007 From: ryan.daigle at gmail.com (Ryan Daigle) Date: Sun, 26 Aug 2007 09:14:42 -0400 Subject: [raleigh.rb] internet providers in the area? (offtopic?) In-Reply-To: References: Message-ID: <748ff3ff0708260614x5e7ea97aib54770f1474cb7a1@mail.gmail.com> TWC hasn't been bad at all for me, and I might even go so far as to recommend them. On 8/26/07, Rob Sanheim wrote: > > My apologies if this is too far off topic for this group... > > I just moved to the area and want some advice on who to go with for > internet access. I've heard Time Warner is horrible, but Bell South > is even worse. Are there any other viable options? > > I'll be in Chapel Hill, btw. > > thanks, > Rob > > -- > http://robsanheim.com > http://relevancellc.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070826/65044a19/attachment.html From dmcwilliams at gmail.com Sun Aug 26 09:44:47 2007 From: dmcwilliams at gmail.com (David McWilliams) Date: Sun, 26 Aug 2007 09:44:47 -0400 Subject: [raleigh.rb] internet providers in the area? (offtopic?) In-Reply-To: <748ff3ff0708260614x5e7ea97aib54770f1474cb7a1@mail.gmail.com> References: <748ff3ff0708260614x5e7ea97aib54770f1474cb7a1@mail.gmail.com> Message-ID: <82561ffb0708260644x52266391v3eca46ee90542b14@mail.gmail.com> I would recommend TWC as well. On 8/26/07, Ryan Daigle wrote: > > TWC hasn't been bad at all for me, and I might even go so far as to > recommend them. > > On 8/26/07, Rob Sanheim < rsanheim at gmail.com> wrote: > > > > My apologies if this is too far off topic for this group... > > > > I just moved to the area and want some advice on who to go with for > > internet access. I've heard Time Warner is horrible, but Bell South > > is even worse. Are there any other viable options? > > > > I'll be in Chapel Hill, btw. > > > > thanks, > > Rob > > > > -- > > http://robsanheim.com > > http://relevancellc.com > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -- David McWilliams dmcwilliams at gmail.com 919.623.1276 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070826/33f49375/attachment.html From geoff at geoffdavis.net Sun Aug 26 09:47:23 2007 From: geoff at geoffdavis.net (Geoff Davis) Date: Sun, 26 Aug 2007 09:47:23 -0400 Subject: [raleigh.rb] internet providers in the area? (offtopic?) In-Reply-To: <82561ffb0708260644x52266391v3eca46ee90542b14@mail.gmail.com> References: <748ff3ff0708260614x5e7ea97aib54770f1474cb7a1@mail.gmail.com> <82561ffb0708260644x52266391v3eca46ee90542b14@mail.gmail.com> Message-ID: <1D8E929A-BEB4-4F41-BF69-A94DF1B8D5DF@geoffdavis.net> I have had good luck with Speakeasy, but they were recently bought by Best Buy, so who knows what will become of them. On Aug 26, 2007, at 9:44 AM, David McWilliams wrote: > I would recommend TWC as well. > > On 8/26/07, Ryan Daigle wrote: > TWC hasn't been bad at all for me, and I might even go so far as to > recommend them. > > On 8/26/07, Rob Sanheim < rsanheim at gmail.com> wrote: > My apologies if this is too far off topic for this group... > > I just moved to the area and want some advice on who to go with for > internet access. I've heard Time Warner is horrible, but Bell South > is even worse. Are there any other viable options? > > I'll be in Chapel Hill, btw. > > thanks, > Rob > > -- > http://robsanheim.com > http://relevancellc.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > -- > David McWilliams > dmcwilliams at gmail.com > 919.623.1276 > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070826/fa0ab904/attachment.html From Me at MartyCullen.Com Sun Aug 26 21:29:47 2007 From: Me at MartyCullen.Com (Marty Cullen) Date: Sun, 26 Aug 2007 21:29:47 -0400 Subject: [raleigh.rb] internet providers in the area? (offtopic?) In-Reply-To: References: Message-ID: My Earthlink over TWC has been rock solid And I need it to be for my Vonage telephone usage. On 8/26/07, Rob Sanheim wrote: > > My apologies if this is too far off topic for this group... > > I just moved to the area and want some advice on who to go with for > internet access. I've heard Time Warner is horrible, but Bell South > is even worse. Are there any other viable options? > > I'll be in Chapel Hill, btw. > > thanks, > Rob > > -- > http://robsanheim.com > http://relevancellc.com > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070826/61a32213/attachment.html From rsanheim at gmail.com Sun Aug 26 22:16:46 2007 From: rsanheim at gmail.com (Rob Sanheim) Date: Sun, 26 Aug 2007 22:16:46 -0400 Subject: [raleigh.rb] internet providers in the area? (offtopic?) In-Reply-To: References: Message-ID: Thanks for the feedback everyone, looks like I'll go with TWC. - Rob -- http://robsanheim.com From pelargir at gmail.com Mon Aug 27 10:25:11 2007 From: pelargir at gmail.com (Matthew) Date: Mon, 27 Aug 2007 10:25:11 -0400 Subject: [raleigh.rb] Rails Rumble In-Reply-To: References: Message-ID: Registration for the Rails Rumble opens today! I've had one person reply to my original post. If you're at all interested in forming or joining a raleigh.rb team, please reply by 5 PM today so we can register. Thanks, Matthew On 8/25/07, Matthew wrote: > > The Rails Rumble is coming up on September 8th: > > > http://railsrumble.com > > > Is anyone in raleigh.rb interested in forming a team and cooking up an > entry? Reply to me here and we can work out the details. Teams are one to > four people each. > > > Matthew > > -- > matthewbass.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070827/59ef2977/attachment-0001.html From curtis.duhn at gmail.com Tue Aug 28 14:26:47 2007 From: curtis.duhn at gmail.com (Curtis Duhn) Date: Tue, 28 Aug 2007 14:26:47 -0400 Subject: [raleigh.rb] Off-topic: Seeking C++ API design review Message-ID: <3e320180708281126q3eda47a0s5904ec110282486@mail.gmail.com> Please forgive this somewhat off-topic message, but this group contains many of the geeks I respect the most in this area, so I'd love to give this small project to one of you. For my day job, I'm product managing an SDK that enables motion control of mobile devices (think Nintendo Wii for your phone). My team has prepared an alpha build of the next version of the SDK, and I'm looking for a smart developer or two to review the interface design and provide feedback. It's a C++ API, and it's being developed and tested on a Qt based mobile Linux device (Qtopia Greenphone from Trolltech). If anyone has the experience necessary to critique a C++ API and is interested in picking up day or two of consulting income over the next week or so, please contact me. Thanks, Curtis -- Curtis Duhn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070828/9144d618/attachment.html From larry.karnowski at gmail.com Wed Aug 29 15:21:58 2007 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Wed, 29 Aug 2007 15:21:58 -0400 Subject: [raleigh.rb] Legacy DB scaffolding trick Message-ID: <2b27183e0708291221r7823fd2eu15954451593887aa@mail.gmail.com> All, I am writing a Rails wrapper around a legacy non-Rails-friendly database. I generated a model, put in set_table_name to the legacy name, and then tried to generate scaffolding for a controller. I got an awful "Before updaing scaffolding from a new DB schema, try creating a table for your model" error message. I googled around and discovered that scaffold will completely ignore your model file on disk, hence ignoring the set_table_name call. Scaffold wants your table name to be Rails-ified in the database, period. So, I did a quick trick to fake out scaffold just long enough for it to do its job. In Postgresql I did the following: > select * into computer_systems from computersystem; (then went and generated scaffolding fine, came back to pgsql and did a...) > drop table computer_systems; (then I went back to the newly generated model file and put the set_table_name back) Not sure if there's an equivalent in MySQL, but I bet there is. HTH, Larry From phi+ruby at vitalsource.com Wed Aug 29 15:34:42 2007 From: phi+ruby at vitalsource.com (Phi Sanders) Date: Wed, 29 Aug 2007 15:34:42 -0400 Subject: [raleigh.rb] Example script to generate RPMs for all installed Gems In-Reply-To: <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> References: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> Message-ID: On Aug 21, 2007, at 11:54 AM, Larry Karnowski wrote: > All, > Here's a quick script I used to package ALL of the installed gems on > my CentOS 4.3 system as RPMs. > > First, you'll need to: > $ gem install --remote gem2rpm > > Also note this will clobber your ~/.rpmmacros file and ~/rpm > directory if > you have them. However, it will let you build all of the Gems into > binary RPMs without needing to be root. > > Hope this helps someone, > Larry I ask, in ignorance, What's the advantage gained? On Fedora, I install everything via yum, and then gem for mongrel, rails etc. and it works fine. Why would I want to RPMize my gems? ~Phi -- Phi Sanders, Software Engineer, Vital Source Technologies, Ingram Digital Group From ruby at bandkbroom.com Wed Aug 29 16:44:41 2007 From: ruby at bandkbroom.com (Brian Broom) Date: Wed, 29 Aug 2007 16:44:41 -0400 Subject: [raleigh.rb] Example script to generate RPMs for all installed Gems In-Reply-To: References: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> Message-ID: My guess is deployment consistency. This way you don't have to remember what all of your rails stuff depends on, and the versions on your dev platform being out of sync with your servers. On 8/29/07, Phi Sanders wrote: > > > > > > On Aug 21, 2007, at 11:54 AM, Larry Karnowski wrote: > > > > > All, > > > Here's a quick script I used to package ALL of the installed gems on > > > my CentOS 4.3 system as RPMs. > > > > > > First, you'll need to: > > > $ gem install --remote gem2rpm > > > > > > Also note this will clobber your ~/.rpmmacros file and ~/rpm > > > directory if > > > you have them. However, it will let you build all of the Gems into > > > binary RPMs without needing to be root. > > > > > > Hope this helps someone, > > > Larry > > > > > > I ask, in ignorance, What's the advantage gained? > > > > On Fedora, I install everything via yum, and then gem for mongrel, > > rails etc. and it works fine. Why would I want to RPMize my gems? > > > > ~Phi > > -- > > Phi Sanders, > > > > Software Engineer, > > Vital Source Technologies, > > Ingram Digital Group > > > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070829/a92e46d1/attachment.html From brenton.leanhardt at gmail.com Thu Aug 30 09:07:56 2007 From: brenton.leanhardt at gmail.com (brenton leanhardt) Date: Thu, 30 Aug 2007 09:07:56 -0400 Subject: [raleigh.rb] Example script to generate RPMs for all installed Gems In-Reply-To: References: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> Message-ID: <7c0835400708300607n2c4c823dp231824e5e9ade5f8@mail.gmail.com> The quick answer is that under linux there are great tools for working with RPMs to manage large deployments and, as Brian mentioned, it's nice to be able to handle all your dependencies consistently. I've been using gem2rpm mostly for that reason. Also, some gems need to compile native code in order to work. Where I work it's not very common for large production systems to have compilers on them. --Brenton On 8/29/07, Brian Broom wrote: > > > My guess is deployment consistency. This way you don't have to remember > what all of your rails stuff depends on, and the versions on your dev > platform being out of sync with your servers. > > > On 8/29/07, Phi Sanders wrote: > > > > > > > > > On Aug 21, 2007, at 11:54 AM, Larry Karnowski wrote: > > > > > > > All, > > > > Here's a quick script I used to package ALL of the installed gems on > > > > my CentOS 4.3 system as RPMs. > > > > > > > > First, you'll need to: > > > > $ gem install --remote gem2rpm > > > > > > > > Also note this will clobber your ~/.rpmmacros file and ~/rpm > > > > directory if > > > > you have them. However, it will let you build all of the Gems into > > > > binary RPMs without needing to be root. > > > > > > > > Hope this helps someone, > > > > Larry > > > > > > > > > I ask, in ignorance, What's the advantage gained? > > > > > > On Fedora, I install everything via yum, and then gem for mongrel, > > > rails etc. and it works fine. Why would I want to RPMize my gems? > > > > > > ~Phi > > > -- > > > Phi Sanders, > > > > > > Software Engineer, > > > Vital Source Technologies, > > > Ingram Digital Group > > > > > > > > > _______________________________________________ > > > raleigh-rb-members mailing list > > > raleigh-rb-members at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/raleigh-rb-members/attachments/20070830/cf35fc4c/attachment.html From larry.karnowski at gmail.com Thu Aug 30 09:54:43 2007 From: larry.karnowski at gmail.com (Larry Karnowski) Date: Thu, 30 Aug 2007 09:54:43 -0400 Subject: [raleigh.rb] Example script to generate RPMs for all installed Gems In-Reply-To: <7c0835400708300607n2c4c823dp231824e5e9ade5f8@mail.gmail.com> References: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> <7c0835400708300607n2c4c823dp231824e5e9ade5f8@mail.gmail.com> Message-ID: <2b27183e0708300654x721621e9mbf5ef5ceabe67c0c@mail.gmail.com> Brenton and Brian hit the nail on the head. Our software is shipped as a Linux image on computers sold as an "appliance." We manage all system imaging using RedHat's Anaconda and Kickstart programs. We have a strict policy that every single file in our image is owned by an RPM, so to install gems I must use gem2rpm. Having a repeatable installation system has proven to be a god-send, a real best-practice that I whole-heartedly endorse. As for my "normal" Rails installs (my own projects), I like to have a yum repository with any custom RPMs for my base system. Then I'm using Capistrano to deploy application-level code on top of that. HTH, Larry On 8/30/07, brenton leanhardt wrote: > The quick answer is that under linux there are great tools for working with > RPMs to manage large deployments and, as Brian mentioned, it's nice to be > able to handle all your dependencies consistently. I've been using gem2rpm > mostly for that reason. > > Also, some gems need to compile native code in order to work. Where I work > it's not very common for large production systems to have compilers on them. > > > --Brenton > > > On 8/29/07, Brian Broom wrote: > > > > > > My guess is deployment consistency. This way you don't have to remember > what all of your rails stuff depends on, and the versions on your dev > platform being out of sync with your servers. > > > > > > > > > > > > > > > > > On 8/29/07, Phi Sanders wrote: > > > > > > > > On Aug 21, 2007, at 11:54 AM, Larry Karnowski wrote: > > > > > > > > > All, > > > > > Here's a quick script I used to package ALL of the installed gems on > > > > > my CentOS 4.3 system as RPMs. > > > > > > > > > > First, you'll need to: > > > > > $ gem install --remote gem2rpm > > > > > > > > > > Also note this will clobber your ~/.rpmmacros file and ~/rpm > > > > > directory if > > > > > you have them. However, it will let you build all of the Gems into > > > > > binary RPMs without needing to be root. > > > > > > > > > > Hope this helps someone, > > > > > Larry > > > > > > > > > > > > I ask, in ignorance, What's the advantage gained? > > > > > > > > On Fedora, I install everything via yum, and then gem for mongrel, > > > > rails etc. and it works fine. Why would I want to RPMize my gems? > > > > > > > > ~Phi > > > > -- > > > > Phi Sanders, > > > > > > > > Software Engineer, > > > > Vital Source Technologies, > > > > Ingram Digital Group > > > > > > > > > > > > _______________________________________________ > > > > raleigh-rb-members mailing list > > > > raleigh-rb-members at rubyforge.org > > > > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > raleigh-rb-members mailing list > > raleigh-rb-members at rubyforge.org > > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > > > > > _______________________________________________ > raleigh-rb-members mailing list > raleigh-rb-members at rubyforge.org > http://rubyforge.org/mailman/listinfo/raleigh-rb-members > From phi+ruby at vitalsource.com Thu Aug 30 13:03:54 2007 From: phi+ruby at vitalsource.com (Phi Sanders) Date: Thu, 30 Aug 2007 13:03:54 -0400 Subject: [raleigh.rb] Example script to generate RPMs for all installed Gems In-Reply-To: <2b27183e0708300654x721621e9mbf5ef5ceabe67c0c@mail.gmail.com> References: <2b27183e0708210853o76187f2ft81b2a2f02ceb0d1f@mail.gmail.com> <2b27183e0708210854w44365a4fx891aab9e39a73806@mail.gmail.com> <7c0835400708300607n2c4c823dp231824e5e9ade5f8@mail.gmail.com> <2b27183e0708300654x721621e9mbf5ef5ceabe67c0c@mail.gmail.com> Message-ID: A web server without a compiler? Aiiieeeee!!! Although I guess that does significantly increase the security of the "appliance." Thanks for edu-ma-cating me on the deployment joys possible via gem2rpm. ~Phi On Aug 30, 2007, at 9:54 AM, Larry Karnowski wrote: > Brenton and Brian hit the nail on the head. Our software is shipped > as a Linux image on computers sold as an "appliance." We manage all > system imaging using RedHat's Anaconda and Kickstart programs. We > have a strict policy that every single file in our image is owned by > an RPM, so to install gems I must use gem2rpm. Having a repeatable > installation system has proven to be a god-send, a real best-practice > that I whole-heartedly endorse. > > As for my "normal" Rails installs (my own projects), I like to have a > yum repository with any custom RPMs for my base system. Then I'm > using Capistrano to deploy application-level code on top of that. > > HTH, > Larry > > On 8/30/07, brenton leanhardt wrote: >> The quick answer is that under linux there are great tools for >> working with >> RPMs to manage large deployments and, as Brian mentioned, it's >> nice to be >> able to handle all your dependencies consistently. I've been >> using gem2rpm >> mostly for that reason. >> >> Also, some gems need to compile native code in order to work. >> Where I work >> it's not very common for large production systems to have >> compilers on them. >> >> >> --Brenton >> >> >> On 8/29/07, Brian Broom wrote: >>> >>> >>> My guess is deployment consistency. This way you don't have to >>> remember >> what all of your rails stuff depends on, and the versions on your dev >> platform being out of sync with your servers. >>> >>> >>> >>> >>>> >>>> >>>> On 8/29/07, Phi Sanders wrote: >>>>> >>>>> On Aug 21, 2007, at 11:54 AM, Larry Karnowski wrote: >>>>> >>>>>> All, >>>>>> Here's a quick script I used to package ALL of the installed >>>>>> gems on >>>>>> my CentOS 4.3 system as RPMs. >>>>>> >>>>>> First, you'll need to: >>>>>> $ gem install --remote gem2rpm >>>>>> >>>>>> Also note this will clobber your ~/.rpmmacros file and ~/rpm >>>>>> directory if >>>>>> you have them. However, it will let you build all of the Gems >>>>>> into >>>>>> binary RPMs without needing to be root. >>>>>> >>>>>> Hope this helps someone, >>>>>> Larry >>>>> >>>>> >>>>> I ask, in ignorance, What's the advantage gained? >>>>> >>>>> On Fedora, I install everything via yum, and then gem for mongrel, >>>>> rails etc. and it works fine. Why would I want to RPMize my gems? >>>>> >>>>> ~Phi >>>>> -- -- Phi Sanders, Software Engineer, Vital Source Technologies, Ingram Digital Group