From averkhov at thoughtworks.com Thu Jan 3 12:26:16 2008 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 3 Jan 2008 11:26:16 -0600 Subject: [Cruisecontrolrb-users] Install woes : 'Stack level too deep' exceptions Message-ID: -----cruisecontrolrb-users-bounces at rubyforge.org wrote: ----- >On the "cruise add project" step I get a failure 'stack level too >deep' - No log files are created. Please run it with --trace option and post the stack trace of the exception. --Alex From davis at realgirlsmedia.com Thu Jan 3 19:40:46 2008 From: davis at realgirlsmedia.com (Davis Frank) Date: Thu, 3 Jan 2008 16:40:46 -0800 Subject: [Cruisecontrolrb-users] Project added with a branch URL switches back to trunk Message-ID: When adding a new project (e.g., foo_branch) that's pointing to branch URL (e.g., foo/branches/new_branch), we're seeing the following behavior: - first build goes as expected, with projects/work pointing to foo/branches/new_branch (checked via svn info) - next check-in to foo/trunk causes a build to happen, with projects/work now points to foo/trunk We're seeing this behavior in 1.2.1 and current trunk. Thoughts? thx, --dwf -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080103/2a28ac04/attachment.html From gishu.pillai at gmail.com Thu Jan 3 21:47:53 2008 From: gishu.pillai at gmail.com (Gishu Pillai) Date: Fri, 4 Jan 2008 08:17:53 +0530 Subject: [Cruisecontrolrb-users] Install woes : 'Stack level too deep' exceptions In-Reply-To: <63a323220801031847n2af75f54ha1ae1571f5a5327@mail.gmail.com> References: <63a323220801031847n2af75f54ha1ae1571f5a5327@mail.gmail.com> Message-ID: <63a323220801031847g438017c0ya2057f1fcb34fea5@mail.gmail.com> ---------- Forwarded message ---------- From: Gishu Pillai Date: Jan 4, 2008 8:17 AM Subject: Re: [Cruisecontrolrb-users] Install woes : 'Stack level too deep' exceptions To: Alexey Verkhovsky Here it is Alexey... D:\cruisecontrolrb-1.2.1>cruise add ShowMeTheMoney --url svn://babybox/ShowMeThe Money/trunk --trace Adding project 'ShowMeTheMoney' (this may take a while)... ./script/../config/../vendor/rails/actionpack/lib/../../activesupport/lib/active _support/vendor/builder/blankslate.rb:58:in `blank_slate_method_added': stack le vel too deep (SystemStackError) from ./script/../config/../vendor/rails/actionpack/lib/../../activesuppo rt/lib/active_support/vendor/builder/blankslate.rb:58:in `blank_slate_method_add ed' from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2 /lib/active_suppo rt/vendor/builder-2.1.2/blankslate.rb:84:in `method_added' from d:/ruby/lib/ruby/gems/1.8/gems/activesupport- 2.0.2 /lib/active_suppo rt/vendor/builder-2.1.2/blankslate.rb:104 from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge m_original_require' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire' from d:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2 /lib/active_suppo rt/basic_object.rb:3 from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `ge m_original_require' from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `re quire' ... 19 levels... from cruise:68 from d:/ruby/lib/ruby/1.8/fileutils.rb:121:in `chdir' from d:/ruby/lib/ruby/1.8/fileutils.rb:121:in `cd' from cruise:67 ----- I think the svn url is ok >svn list svn://babybox/ShowMeTheMoney/trunk README Rakefile app/ config/ db/ doc/ lib/ log/ public/ script/ test/ tmp/ vendor/ On Jan 3, 2008 10:56 PM, Alexey Verkhovsky wrote: > -----cruisecontrolrb-users-bounces at rubyforge.org wrote: ----- > >On the "cruise add project" step I get a failure 'stack level too > >deep' - No log files are created. > > Please run it with --trace option and post the stack trace of the > exception. > > --Alex > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080104/0ff41494/attachment.html From thewoolleyman at gmail.com Fri Jan 4 01:58:49 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Thu, 3 Jan 2008 23:58:49 -0700 Subject: [Cruisecontrolrb-users] Project added with a branch URL switches back to trunk In-Reply-To: References: Message-ID: On Jan 3, 2008 5:40 PM, Davis Frank wrote: > - first build goes as expected, with projects/work pointing to > foo/branches/new_branch (checked via svn info) > - next check-in to foo/trunk causes a build to happen, with projects/work > now points to foo/trunk I've seen this same bug, but never investigated it. Happily, we are usually on trunk :) Lets fix it over beer, Davis - I'm in town the week of the 14th :) -- Chad From duelin.markers at gmail.com Sat Jan 5 14:42:58 2008 From: duelin.markers at gmail.com (John D. Hume) Date: Sat, 5 Jan 2008 14:42:58 -0500 Subject: [Cruisecontrolrb-users] Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy Message-ID: This morning I sat down to try to start writing a cruise plugin that allows you to deploy ('cap deploy' or something similar) a revision that has built successfully by clicking a link or button on the builds/show page. (I.e., something that satisfies http://jira.public.thoughtworks.org/browse/CCRB-55.) Since I want to be able to configure the command to run in each project's cruise_config.rb, I looked into making it a builder plugin (even though those normally do all their work in the builder processes rather than the web app). I was happy to find the builder plugins are created in the web app process, but then disappointed to find out the project configuration isn't loaded in that process, only in the builders. Is there a recommended approach for this sort of thing? Thanks. -hume. From jperkins at sneer.org Mon Jan 7 14:43:08 2008 From: jperkins at sneer.org (Jason Perkins) Date: Mon, 7 Jan 2008 13:43:08 -0600 Subject: [Cruisecontrolrb-users] setup error: no such file to load -- cc:build (MissingSourceFile) Message-ID: <83A273A6-AE04-412C-94D8-EE7E871ECC16@sneer.org> Good afternoon! In setting up cruisecontrol.rb I've ran into an issue. I've followed the setup instructions (twice) verbatim and can cd into my work directory and run rake with all tests passing. However, when I start cruise the tests run but I then get this error output: ----------- begin output ----------- /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- cc:build (MissingSourceFile) from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: 27:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:495:in `require' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:342:in `new_constants_in' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/ active_support/dependencies.rb:495:in `require' from /usr/local/lib/ruby/1.8/test/unit/collector/dir.rb:90:in `collect_file' from /usr/local/lib/ruby/1.8/test/unit/collector/dir.rb:77:in `recursive_collect' from /usr/local/lib/ruby/1.8/test/unit/collector/dir.rb:29:in `collect' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:68 from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:213:in `[]' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:213:in `run' from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' from /usr/local/lib/ruby/1.8/test/unit.rb:278 from -e:1 dir : /home/jperkins/cruisecontrolrb/projects/mms/work command : ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/home/jperkins/cruisecontrolrb/tasks/cc_build.rake'; ARGV << '-- nosearch' << 'cc:build'; Rake.application.run" executed command : echo /home/jperkins/cruisecontrolrb/projects/mms/ work jperkins$ ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/home/jperkins/cruisecontrolrb/tasks/cc_build.rake'; ARGV << '-- nosearch' << 'cc:build'; Rake.application.run" >> /home/jperkins/ cruisecontrolrb/projects/mms/build-4617/build.log && ruby -e "require 'rubygems' rescue nil; require 'rake'; load '/home/jperkins/ cruisecontrolrb/tasks/cc_build.rake'; ARGV << '--nosearch' << 'cc:build'; Rake.application.run" >> /home/jperkins/cruisecontrolrb/ projects/mms/build-4617/build.log 2>&1 exitstatus: 1 STDERR TAIL START STDERR TAIL END ----------- end output ----------- Any assistance greatly appreciated! -- Jason Perkins jperkins at sneer.org "The computer allows you to make mistakes faster than any other invention, with the possible exception of handguns and tequila." -Mitch Ratcliffe From thewoolleyman at gmail.com Mon Jan 7 21:32:13 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Mon, 7 Jan 2008 19:32:13 -0700 Subject: [Cruisecontrolrb-users] Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy In-Reply-To: References: Message-ID: On Jan 5, 2008 12:42 PM, John D. Hume wrote: > This morning I sat down to try to start writing a cruise plugin that > allows you to deploy ('cap deploy' or something similar) a revision > that has built successfully by clicking a link or button on the > builds/show page. (I.e., something that satisfies > http://jira.public.thoughtworks.org/browse/CCRB-55.) > > Since I want to be able to configure the command to run in each > project's cruise_config.rb, I looked into making it a builder plugin > (even though those normally do all their work in the builder processes > rather than the web app). I was happy to find the builder plugins are > created in the web app process, but then disappointed to find out the > project configuration isn't loaded in that process, only in the > builders. This seems to make sense, only the builders should know about their projects. Maybe you can define a generic message (:deploy) that triggers a build process to do something, similar to the build now button. The builder process could then figure out how to 'deploy', based on the individual project config (or do nothing, or do a default command, if it is not configured). Kind of vague, sorry, I didn't review the source. Would that work? From duelin.markers at gmail.com Tue Jan 8 00:17:04 2008 From: duelin.markers at gmail.com (John D. Hume) Date: Tue, 8 Jan 2008 00:17:04 -0500 Subject: [Cruisecontrolrb-users] Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy In-Reply-To: References: Message-ID: Chad Woolley wrote: > This seems to make sense, only the builders should know about their > projects. I assume you mean their plugins. Yeah, that makes sense; I was just surprised to see that the web app process has instances of all the builder plugins, but without their configuration loaded. It seems like if they're going to be there they ought to be configured. (Maybe the plugin instances are there as a side-effect of the plugin_loader code sitting at the bottom of project.rb?) > Maybe you can define a generic message (:deploy) that > triggers a build process to do something, similar to the build now > button. The builder process could then figure out how to 'deploy', > based on the individual project config (or do nothing, or do a default > command, if it is not configured). It's an option (with some really nasty monkey-patching to PollingScheduler), but it seems like a bad thing to give the builder process a second job. The deploy doesn't really belong in the web app process (in case it's long-running) but doesn't belong in the builder either. I think I'll dispense with configuring the deploy via cruise_config.rb and just make a normal Rails plugin for the time being. Thanks. -hume. From thewoolleyman at gmail.com Tue Jan 8 00:57:26 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Mon, 7 Jan 2008 22:57:26 -0700 Subject: [Cruisecontrolrb-users] Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy In-Reply-To: References: Message-ID: On Jan 7, 2008 10:17 PM, John D. Hume wrote: > Chad Woolley wrote: > I think I'll dispense with configuring the deploy via cruise_config.rb > and just make a normal Rails plugin for the time being. What we do is make a tag for all green builds, and create that as a build artifact file (named after the tag and containing the tag). We then manually deploy that tag with capistrano via copy and paste. It works, and we have to type in the server pw anyway, so it has to be manual. From averkhov at thoughtworks.com Tue Jan 8 02:08:27 2008 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Tue, 8 Jan 2008 01:08:27 -0600 Subject: [Cruisecontrolrb-users] Builder Plugin vs. Rails Plugin vs. ??? for one-click deploy Message-ID: >surprised to see that the web app process has instances of all the >builder plugins, but without their configuration loaded. It seems >like if they're going to be there they ought to be configured. > (Maybe >the plugin instances are there as a side-effect of the plugin_loader >code sitting at the bottom of project.rb?) Historically, it's a side effect of using the same Project class in both the builder and the dashboard. We went back and forth twice on this decision during the initial development. I think, I'm getting more and more inclined to change it yet again (and have Project and DashboardProject classes, sharing a bunch of behaviors via a mixin). I don't remember any specific examples of why loading project configuration in a dashboard context was a bad idea, but it was about unacceptably restricting what a user may put in the cruise_config.rb. So, yeah, cruise_config.rb is *builder* configuration. --Alex From mike at csinitiative.com Wed Jan 9 02:18:15 2008 From: mike at csinitiative.com (Mike Herrick) Date: Tue, 08 Jan 2008 23:18:15 -0800 Subject: [Cruisecontrolrb-users] Cruisecontrol.rb & JRuby ? Message-ID: <47847537.6090607@csinitiative.com> Hi, I searched the archives of this list and came across a few posts that indicated that Cruisecontrol.rb may support JRuby: http://www.openlogic.com/blogs/2007/09/setting-up-a-jruby-project-in-cruisecontrolrb/ http://www.nabble.com/cc.rb-under-JRuby-to12101231.html#a12101231 Anybody using it that way? Any advice, gotchas etc.? Apologies if I am missing other resources. Thanks, Mike -- Mike Herrick Program Manager, The Collaborative Software Initiative mike at csinitiative.com M: +1 971.340.0302 XMPP mherrick66 at gmail.com AIM mherrick66 Skype mherrick66 http://www.csinitiative.com From sameerladak at hotmail.com Mon Jan 14 15:31:24 2008 From: sameerladak at hotmail.com (sameer ladak) Date: Mon, 14 Jan 2008 20:31:24 +0000 Subject: [Cruisecontrolrb-users] "Build problem" Message-ID: Hello, I am using CruiseControl.rb version 1.21 on linux environment. I am not using custom integration. I am also using subversion. Recently i switched servers and since then i am having problem building CruiseControl. I works fine when i restart the CruiseControl server, but next time i try to build, it starts building and it never stops and then i have to restart the server again and cycle repeats again. Please send me any suggestion you have. Thanks _________________________________________________________________ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008 From sameerladak at hotmail.com Tue Jan 15 20:15:24 2008 From: sameerladak at hotmail.com (sameer ladak) Date: Wed, 16 Jan 2008 01:15:24 +0000 Subject: [Cruisecontrolrb-users] Build Never Stops Message-ID: Hello,I am using CruiseControl.rb version 1.21 on linux environment (CentOS 5). I am not using custom configuration. I am also using subversion version 1.4.2. Recently i switched servers and since then i am having problem building my application through CruiseControl. It works fine when i restart the CruiseControl server, but next time i try to build, it starts building and it never stops and then i have to restart the server again and cycle repeats again. This is what's happening. Now building: 1823 for 97 hours 29 minutes Please send me any suggestion you have.Thanks _________________________________________________________________ Make distant family not so distant with Windows Vista? + Windows Live?. http://www.microsoft.com/windows/digitallife/keepintouch.mspx?ocid=TXT_TAGLM_CPC_VideoChat_distantfamily_012008 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080116/a7196725/attachment.html From minter at thinkrelevance.com Tue Jan 15 21:08:56 2008 From: minter at thinkrelevance.com (H. Wade Minter) Date: Tue, 15 Jan 2008 21:08:56 -0500 Subject: [Cruisecontrolrb-users] CruiseControl.rb URL problems with Nginx Message-ID: <617E1D2F-2D49-4732-BDA2-C1787BD51421@thinkrelevance.com> I have a CruiseControl.rb (version 1.2.1) instance running on a system behind a NAT system. I'm noticing something odd with the URLs. If I port-forward port 80 on the NAT box back to port 3333 on the CC.rb system, everything works fine. However, I want to lock it down a bit, so I've set up a Nginx proxy on the CC.rb system, port 80, proxying back to 3333. The odd thing is that, when the proxy is running, some of the URLs are wrong. The main URL of the site is fine, and the links to the Projects are fine, but the sub-links (to the various builds) are showing an incorrect hostname. This problem only pops up with the proxy, not with the port forward. Has anyone run into this before? Thanks, Wade From thewoolleyman at gmail.com Tue Jan 15 23:29:09 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 15 Jan 2008 21:29:09 -0700 Subject: [Cruisecontrolrb-users] Build Never Stops In-Reply-To: References: Message-ID: Check all your logs. Find where it is hanging. Run your cruise rake task manually on the same machine, and see if it hangs outside of cruise. On Jan 15, 2008 6:15 PM, sameer ladak wrote: > > Hello, > > I am using CruiseControl.rb version 1.21 on linux environment (CentOS 5). > I am not using custom configuration. I am also using subversion version > 1.4.2. > Recently i switched servers and since then i am having problem building my > application through CruiseControl. > It works fine when i restart the CruiseControl server, but next time i try > to build, > it starts building and it never stops and then i have to restart the server > again and cycle repeats again. > > This is what's happening. > Now building: 1823 for 97 hours 29 minutes > > Please send me any suggestion you have. > > Thanks > > > > ________________________________ > Make distant family not so distant with Windows Vista(R) + Windows Live?. > Start now! > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > From thewoolleyman at gmail.com Wed Jan 16 01:14:05 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Tue, 15 Jan 2008 23:14:05 -0700 Subject: [Cruisecontrolrb-users] CruiseControl.rb URL problems with Nginx In-Reply-To: <617E1D2F-2D49-4732-BDA2-C1787BD51421@thinkrelevance.com> References: <617E1D2F-2D49-4732-BDA2-C1787BD51421@thinkrelevance.com> Message-ID: I think we just dealt with a similar problem., and solved it by making all urls relative. I didn't do the work, but I think there's a ticket and/or mailing list post about it and perhaps a patch. Ping this thread again if you can't find it, and I'll try to get more info. On Jan 15, 2008 7:08 PM, H. Wade Minter wrote: > I have a CruiseControl.rb (version 1.2.1) instance running on a system > behind a NAT system. I'm noticing something odd with the URLs. > > If I port-forward port 80 on the NAT box back to port 3333 on the > CC.rb system, everything works fine. However, I want to lock it down > a bit, so I've set up a Nginx proxy on the CC.rb system, port 80, > proxying back to 3333. > > The odd thing is that, when the proxy is running, some of the URLs are > wrong. The main URL of the site is fine, and the links to the > Projects are fine, but the sub-links (to the various builds) are > showing an incorrect hostname. > > This problem only pops up with the proxy, not with the port forward. > > Has anyone run into this before? > > Thanks, > Wade > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > From jeremystellsmith at gmail.com Wed Jan 16 12:41:08 2008 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Wed, 16 Jan 2008 09:41:08 -0800 Subject: [Cruisecontrolrb-users] CruiseControl.rb URL problems with Nginx In-Reply-To: References: <617E1D2F-2D49-4732-BDA2-C1787BD51421@thinkrelevance.com> Message-ID: that patch has been accepted and is in the trunk, if you try it, let us know how it goes for you. Jeremy On Jan 15, 2008 10:14 PM, Chad Woolley wrote: > I think we just dealt with a similar problem., and solved it by making > all urls relative. I didn't do the work, but I think there's a ticket > and/or mailing list post about it and perhaps a patch. Ping this > thread again if you can't find it, and I'll try to get more info. > > On Jan 15, 2008 7:08 PM, H. Wade Minter wrote: > > I have a CruiseControl.rb (version 1.2.1) instance running on a system > > behind a NAT system. I'm noticing something odd with the URLs. > > > > If I port-forward port 80 on the NAT box back to port 3333 on the > > CC.rb system, everything works fine. However, I want to lock it down > > a bit, so I've set up a Nginx proxy on the CC.rb system, port 80, > > proxying back to 3333. > > > > The odd thing is that, when the proxy is running, some of the URLs are > > wrong. The main URL of the site is fine, and the links to the > > Projects are fine, but the sub-links (to the various builds) are > > showing an incorrect hostname. > > > > This problem only pops up with the proxy, not with the port forward. > > > > Has anyone run into this before? > > > > Thanks, > > Wade > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080116/e78e7bef/attachment.html From bketelsen at gmail.com Thu Jan 17 02:08:32 2008 From: bketelsen at gmail.com (Brian Ketelsen) Date: Thu, 17 Jan 2008 02:08:32 -0500 Subject: [Cruisecontrolrb-users] RAILS_ENV problems Message-ID: Hello, My builds are all failing immediately with an error stating that it can?t connect to MySql: /opt/wcpublic/cruisecontrolrb-1.2.1/projects/WellCare/work wcapp$ ruby -e require 'rubygems' rescue nil; require 'rake'; load '/opt/wcpublic/cruisecontrolrb-1.2.1/tasks/cc_build.rake'; ARGV << '--nosearch' << '--trace' << 'cc:build'; Rake.application.run rake aborted! Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Problem is that my TEST environment is set to use SQLite. Why is CCRB trying to connect to the development environment? Am I missing something obvious? Thanks for any help! Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080117/2b4e1f23/attachment.html From alexey.verkhovsky at gmail.com Thu Jan 17 14:36:07 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 17 Jan 2008 12:36:07 -0700 Subject: [Cruisecontrolrb-users] RAILS_ENV problems In-Reply-To: References: Message-ID: <3945c4270801171136m2d5c8dach51012b309d82dc05@mail.gmail.com> On Jan 17, 2008 12:08 AM, Brian Ketelsen wrote: > Problem is that my TEST environment is set to use SQLite. Why is CCRB > trying to connect to the development environment? Am I missing something > obvious? Hi, You are already running with --trace flag. Can you, please, email me your build log and cruise_config.rb off-list? -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From sameerladak at hotmail.com Mon Jan 21 16:53:35 2008 From: sameerladak at hotmail.com (sameer ladak) Date: Mon, 21 Jan 2008 21:53:35 +0000 Subject: [Cruisecontrolrb-users] Problem Sovled [Build Never Stops] Message-ID: Hello, I had a build problem that i discussed in the previous post. It turns out the svn URL had an IP number in it, that pointed to CC. when it was changed to a normal domain name (using "svn switch --relocate") everything worked fine and is working fine since then. Thanks for all your responses, bye _________________________________________________________________ Shed those extra pounds with MSN and The Biggest Loser! http://biggestloser.msn.com/ From gilesb at gmail.com Wed Jan 23 19:45:00 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Wed, 23 Jan 2008 16:45:00 -0800 Subject: [Cruisecontrolrb-users] require_gem deprecated Message-ID: <2d81dedb0801231645w581c25b7s78e6b478802ada5d@mail.gmail.com> Hi all - IIRC require_gem was removed from the new gems release. I'm getting method not found errors when running CC.rb as a result. I have a patch for this but it's absurdly tiny, literally two lines of code - is there anyone I can contact personally instead of starting a new thing on Jira? -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From gilesb at gmail.com Wed Jan 23 19:59:55 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Wed, 23 Jan 2008 16:59:55 -0800 Subject: [Cruisecontrolrb-users] xml_simple errors? / Rails 2? Message-ID: <2d81dedb0801231659m73a908adu955650ecd3320228@mail.gmail.com> Hi all - trying to set up Cruise Control with Rails 2. It ran just fine when I was on 1.2.5 not long ago but it's going nuts now. It might not be a compatibility issue; I'm using it in an enterprisey setting with a lot of confusing custom config. I'm getting a LoadError on 'xml_simple' from the Subversion log parser. I installed the gem and I get the same LoadError if I go in IRB and do: require 'rubygems' require 'xml_simple' But I don't see anywhere else it would be in the dir structure and it sure seems like requiring the gem would be the logical choice. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From thewoolleyman at gmail.com Thu Jan 24 00:31:06 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 23 Jan 2008 22:31:06 -0700 Subject: [Cruisecontrolrb-users] xml_simple errors? / Rails 2? In-Reply-To: <2d81dedb0801231659m73a908adu955650ecd3320228@mail.gmail.com> References: <2d81dedb0801231659m73a908adu955650ecd3320228@mail.gmail.com> Message-ID: try requiring 'xmlsimple': irb(main):001:0> require 'rubygems' => true irb(main):002:0> require 'xmlsimple' => true This is with the latest 1.0.11 xml-simple gem. Did you find a require of 'xml_simple' in the ccrb source? That did not work for me, xmlsimple is the only file I see in the gem. On Jan 23, 2008 5:59 PM, Giles Bowkett wrote: > Hi all - trying to set up Cruise Control with Rails 2. It ran just > fine when I was on 1.2.5 not long ago but it's going nuts now. It > might not be a compatibility issue; I'm using it in an enterprisey > setting with a lot of confusing custom config. > > I'm getting a LoadError on 'xml_simple' from the Subversion log > parser. I installed the gem and I get the same LoadError if I go in > IRB and do: > > require 'rubygems' > require 'xml_simple' > > But I don't see anywhere else it would be in the dir structure and it > sure seems like requiring the gem would be the logical choice. > > -- > Giles Bowkett > > Podcast: http://hollywoodgrit.blogspot.com > Blog: http://gilesbowkett.blogspot.com > Portfolio: http://www.gilesgoatboy.org > Tumblelog: http://giles.tumblr.com > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > From gilesb at gmail.com Thu Jan 24 00:46:23 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Wed, 23 Jan 2008 21:46:23 -0800 Subject: [Cruisecontrolrb-users] xml_simple errors? / Rails 2? In-Reply-To: References: <2d81dedb0801231659m73a908adu955650ecd3320228@mail.gmail.com> Message-ID: <2d81dedb0801232146k1c969becwfab7a0e13280b967@mail.gmail.com> > try requiring 'xmlsimple': > > irb(main):001:0> require 'rubygems' > => true > irb(main):002:0> require 'xmlsimple' > => true > > This is with the latest 1.0.11 xml-simple gem. Did you find a require > of 'xml_simple' in the ccrb source? That did not work for me, > xmlsimple is the only file I see in the gem. Yep - in the Subversion log parser model (app/models/subversion_log_parser.rb). Line 2. The crazy part is that it worked before. In fact my .irbrc uses a gem which requires XmlSimple - in IRB, when I do the require your way, no underscore, it returns false, because the gem's autoloaded by my .irbrc. Should I just file a patch? I don't understand why that's in the code because logically it couldn't *ever* have worked. Rails before 2.0 loads your .irbrc in development mode due to an odd quirk, but that can't explain it because it worked on other people's boxes as well. Possibly Rails requires xmlsimple elsewhere and somehow prevents the LoadError from being visible? It seems weird any way you slice it. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com > On Jan 23, 2008 5:59 PM, Giles Bowkett wrote: > > Hi all - trying to set up Cruise Control with Rails 2. It ran just > > fine when I was on 1.2.5 not long ago but it's going nuts now. It > > might not be a compatibility issue; I'm using it in an enterprisey > > setting with a lot of confusing custom config. > > > > I'm getting a LoadError on 'xml_simple' from the Subversion log > > parser. I installed the gem and I get the same LoadError if I go in > > IRB and do: > > > > require 'rubygems' > > require 'xml_simple' > > > > But I don't see anywhere else it would be in the dir structure and it > > sure seems like requiring the gem would be the logical choice. > > > > -- > > Giles Bowkett > > > > Podcast: http://hollywoodgrit.blogspot.com > > Blog: http://gilesbowkett.blogspot.com > > Portfolio: http://www.gilesgoatboy.org > > Tumblelog: http://giles.tumblr.com > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > From thewoolleyman at gmail.com Thu Jan 24 00:57:13 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 23 Jan 2008 22:57:13 -0700 Subject: [Cruisecontrolrb-users] xml_simple errors? / Rails 2? In-Reply-To: <2d81dedb0801232146k1c969becwfab7a0e13280b967@mail.gmail.com> References: <2d81dedb0801231659m73a908adu955650ecd3320228@mail.gmail.com> <2d81dedb0801232146k1c969becwfab7a0e13280b967@mail.gmail.com> Message-ID: it should throw a load error (not just return false) for missing versions, even back to 0.8.11. I just verified this a couple days ago as part of an unrelated project. Strange... On Jan 23, 2008 10:46 PM, Giles Bowkett wrote: > > try requiring 'xmlsimple': > > > > irb(main):001:0> require 'rubygems' > > => true > > irb(main):002:0> require 'xmlsimple' > > => true > > > > This is with the latest 1.0.11 xml-simple gem. Did you find a require > > of 'xml_simple' in the ccrb source? That did not work for me, > > xmlsimple is the only file I see in the gem. > > Yep - in the Subversion log parser model > (app/models/subversion_log_parser.rb). Line 2. > > The crazy part is that it worked before. In fact my .irbrc uses a gem > which requires XmlSimple - in IRB, when I do the require your way, no > underscore, it returns false, because the gem's autoloaded by my > .irbrc. > > Should I just file a patch? I don't understand why that's in the code > because logically it couldn't *ever* have worked. Rails before 2.0 > loads your .irbrc in development mode due to an odd quirk, but that > can't explain it because it worked on other people's boxes as well. > Possibly Rails requires xmlsimple elsewhere and somehow prevents the > LoadError from being visible? It seems weird any way you slice it. > > -- > > Giles Bowkett > > Podcast: http://hollywoodgrit.blogspot.com > Blog: http://gilesbowkett.blogspot.com > Portfolio: http://www.gilesgoatboy.org > Tumblelog: http://giles.tumblr.com > > > > On Jan 23, 2008 5:59 PM, Giles Bowkett wrote: > > > Hi all - trying to set up Cruise Control with Rails 2. It ran just > > > fine when I was on 1.2.5 not long ago but it's going nuts now. It > > > might not be a compatibility issue; I'm using it in an enterprisey > > > setting with a lot of confusing custom config. > > > > > > I'm getting a LoadError on 'xml_simple' from the Subversion log > > > parser. I installed the gem and I get the same LoadError if I go in > > > IRB and do: > > > > > > require 'rubygems' > > > require 'xml_simple' > > > > > > But I don't see anywhere else it would be in the dir structure and it > > > sure seems like requiring the gem would be the logical choice. > > > > > > -- > > > Giles Bowkett > > > > > > Podcast: http://hollywoodgrit.blogspot.com > > > Blog: http://gilesbowkett.blogspot.com > > > Portfolio: http://www.gilesgoatboy.org > > > Tumblelog: http://giles.tumblr.com > > > _______________________________________________ > > > Cruisecontrolrb-users mailing list > > > Cruisecontrolrb-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > From gilesb at gmail.com Thu Jan 24 02:29:28 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Wed, 23 Jan 2008 23:29:28 -0800 Subject: [Cruisecontrolrb-users] xml_simple errors? / Rails 2? In-Reply-To: References: <2d81dedb0801231659m73a908adu955650ecd3320228@mail.gmail.com> <2d81dedb0801232146k1c969becwfab7a0e13280b967@mail.gmail.com> Message-ID: <2d81dedb0801232329o71530912r97d595ffb8041bcd@mail.gmail.com> On 1/23/08, Chad Woolley wrote: > it should throw a load error (not just return false) for missing > versions, even back to 0.8.11. I just verified this a couple days ago > as part of an unrelated project. Strange... Right. The fact that it returns false in IRB indicates that it's already loaded. The fact that this code ran up to now without throwing errors, that part, yes, strange. I agree. Strange. > On Jan 23, 2008 10:46 PM, Giles Bowkett wrote: > > > try requiring 'xmlsimple': > > > > > > irb(main):001:0> require 'rubygems' > > > => true > > > irb(main):002:0> require 'xmlsimple' > > > => true > > > > > > This is with the latest 1.0.11 xml-simple gem. Did you find a require > > > of 'xml_simple' in the ccrb source? That did not work for me, > > > xmlsimple is the only file I see in the gem. > > > > Yep - in the Subversion log parser model > > (app/models/subversion_log_parser.rb). Line 2. > > > > The crazy part is that it worked before. In fact my .irbrc uses a gem > > which requires XmlSimple - in IRB, when I do the require your way, no > > underscore, it returns false, because the gem's autoloaded by my > > .irbrc. > > > > Should I just file a patch? I don't understand why that's in the code > > because logically it couldn't *ever* have worked. Rails before 2.0 > > loads your .irbrc in development mode due to an odd quirk, but that > > can't explain it because it worked on other people's boxes as well. > > Possibly Rails requires xmlsimple elsewhere and somehow prevents the > > LoadError from being visible? It seems weird any way you slice it. > > > > -- > > > > Giles Bowkett > > > > Podcast: http://hollywoodgrit.blogspot.com > > Blog: http://gilesbowkett.blogspot.com > > Portfolio: http://www.gilesgoatboy.org > > Tumblelog: http://giles.tumblr.com > > > > > > > On Jan 23, 2008 5:59 PM, Giles Bowkett wrote: > > > > Hi all - trying to set up Cruise Control with Rails 2. It ran just > > > > fine when I was on 1.2.5 not long ago but it's going nuts now. It > > > > might not be a compatibility issue; I'm using it in an enterprisey > > > > setting with a lot of confusing custom config. > > > > > > > > I'm getting a LoadError on 'xml_simple' from the Subversion log > > > > parser. I installed the gem and I get the same LoadError if I go in > > > > IRB and do: > > > > > > > > require 'rubygems' > > > > require 'xml_simple' > > > > > > > > But I don't see anywhere else it would be in the dir structure and it > > > > sure seems like requiring the gem would be the logical choice. > > > > > > > > -- > > > > Giles Bowkett > > > > > > > > Podcast: http://hollywoodgrit.blogspot.com > > > > Blog: http://gilesbowkett.blogspot.com > > > > Portfolio: http://www.gilesgoatboy.org > > > > Tumblelog: http://giles.tumblr.com > > > > _______________________________________________ > > > > Cruisecontrolrb-users mailing list > > > > Cruisecontrolrb-users at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > > > > _______________________________________________ > > > Cruisecontrolrb-users mailing list > > > Cruisecontrolrb-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From tyleresmart at gmail.com Thu Jan 24 10:49:11 2008 From: tyleresmart at gmail.com (Tyler Smart) Date: Thu, 24 Jan 2008 10:49:11 -0500 Subject: [Cruisecontrolrb-users] more informative In-Reply-To: References: Message-ID: On Jan 24, 2008 10:48 AM, Tyler Smart wrote: > Hi all, > > > Right now I have this in the config file > > > # Project-specific configuration for CruiseControl.rb > > > Project.configure do |project| > > project.email_notifier.emails = ['blah', > 'blah', 'blah'] > > project.email_notifier.from = "blah" > > # case project.name > # when 'mdh' then project.rake_task = 'cruise:all_tests' > # else raise "Don't know what to build for project > #{project.name.inspect}" > # end > > Configuration.dashboard_url = 'http://testing.mydecisionhelper.com ' > > # Send email notifications about broken and fixed builds to > email1 at your.site, email2 at your.site (default: send to nobody) > # project.email_notifier.emails = ['email1 at your.site', 'email2 at your.site > '] > > # Set email 'from' field to john at doe.com: > # project.email_notifier.from = 'john at doe.com' > > # Build the project by invoking rake task 'custom' > # project.rake_task = 'custom' > > # Build the project by invoking shell script "build_my_app.sh". Keep in > mind that when the script is invoked, current wor$ > # [cruise]/projects/your_project/work, so if you do not keep > build_my_app.sh in version control, it should be '../build_m$ > # project.build_command = 'build_my_app.sh' > > # Ping Subversion for new revisions every 5 minutes (default: 30 > seconds) > # project.scheduler.polling_interval = 5.minutes > > end > > > Our build fails and the only message I get back is "build failed" in the > build log. I would like a more comprehensive message in the field, is there > way to do this? > > I see build failed on the dashboard. > > Tyler > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080124/495ac510/attachment.html From tyleresmart at gmail.com Thu Jan 24 10:57:12 2008 From: tyleresmart at gmail.com (Tyler Smart) Date: Thu, 24 Jan 2008 10:57:12 -0500 Subject: [Cruisecontrolrb-users] error 405 nginx/0.5.32 Message-ID: Hi, Also I get this error on the main page, as well as there really is no build log at all on the page, or it is not expandable like it is on teh demo cc.rbsite. Any ideas? Sincerely, Tyler Smart -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080124/9cc8280c/attachment.html From jeremystellsmith at gmail.com Thu Jan 24 12:04:10 2008 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Thu, 24 Jan 2008 09:04:10 -0800 Subject: [Cruisecontrolrb-users] require_gem deprecated In-Reply-To: <2d81dedb0801231645w581c25b7s78e6b478802ada5d@mail.gmail.com> References: <2d81dedb0801231645w581c25b7s78e6b478802ada5d@mail.gmail.com> Message-ID: yeah, just reply w/ the code snippet. Thanks, Giles. Alex, do you have any opinion on moving cc.rb to the latest version of rails / gems / etc? Jeremy On Jan 23, 2008 4:45 PM, Giles Bowkett wrote: > Hi all - IIRC require_gem was removed from the new gems release. I'm > getting method not found errors when running CC.rb as a result. I have > a patch for this but it's absurdly tiny, literally two lines of code - > is there anyone I can contact personally instead of starting a new > thing on Jira? > > -- > Giles Bowkett > > Podcast: http://hollywoodgrit.blogspot.com > Blog: http://gilesbowkett.blogspot.com > Portfolio: http://www.gilesgoatboy.org > Tumblelog: http://giles.tumblr.com > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080124/e9573d49/attachment.html From averkhov at thoughtworks.com Thu Jan 24 12:07:02 2008 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 24 Jan 2008 11:07:02 -0600 Subject: [Cruisecontrolrb-users] more informative Message-ID: -----cruisecontrolrb-users-bounces at rubyforge.org wrote: ----- > Our build fails and the only message I get back is "build failed" in > the build log. This sounds like either Subversion interface, or some plugin is failing ungraciously before the actual build starts. Run CC.rb with the --trace flag and look at the BUILDER log (./log/builder_[project name].log file) - that should tell you a bit more about the failure. I don't like the sound of HTTP 405 - that should not be happening in any case. If you can figure out what causes that, I should try to plug it. -- Alex From averkhov at thoughtworks.com Thu Jan 24 12:22:50 2008 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 24 Jan 2008 11:22:50 -0600 Subject: [Cruisecontrolrb-users] require_gem deprecated Message-ID: > method not found errors when running CC.rb Ouch, that's not good! Send me your patch, please. --Alex From averkhov at thoughtworks.com Thu Jan 24 12:31:13 2008 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 24 Jan 2008 11:31:13 -0600 Subject: [Cruisecontrolrb-users] require_gem deprecated Message-ID: -----cruisecontrolrb-users-bounces at rubyforge.org wrote: ----- >Alex, do you have any opinion on moving cc.rb to the latest version >of rails / gems / etc? If it doesn't work with the current (or even an upcoming) rubygems release, that's an obvious reason for an urgent release. If you are still working 4 days week, we could get together tomorrow and just do it. Maybe go through some JIRA patches, too. And we did want to chat about the next version, anyway... :) As for the Rails upgrade, I don't see an obvious reason to do it, but it's not too hard, or too likely to break anything, either. --Alex From gilesb at gmail.com Thu Jan 24 13:28:07 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Thu, 24 Jan 2008 10:28:07 -0800 Subject: [Cruisecontrolrb-users] require_gem deprecated In-Reply-To: References: Message-ID: <2d81dedb0801241028w3d00c32ch93850096ab94c576@mail.gmail.com> > > method not found errors when running CC.rb > Ouch, that's not good! Send me your patch, please. So far, boot.rb lines 29 and 39: gem "rails" and app/models/subversion_log_parser.rb line 2: require 'xmlsimple' but it looks as if I'm getting additonal issues as well. I'll probably just want to run it on 1.2.5 for the time being. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From gilesb at gmail.com Thu Jan 24 17:07:23 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Thu, 24 Jan 2008 14:07:23 -0800 Subject: [Cruisecontrolrb-users] rails versions confusion Message-ID: <2d81dedb0801241407k33e844dbi7c649c22393e4813@mail.gmail.com> Hey all, here's something I'm running up against. I pulled down the 1.2.6 .tgz file and just loaded those into vendor/rails to get CC.rb running on that version. So far so good - but the build fails, because the migrations in the project use the new t.string style, and this throws NoMethodErrors in 1.2.6. So my question is, if I pop 2.0.2 in the vendor/rails inside the work directory, will that succeed? When CC.rb runs a rake migrate, will it run it against the vendor/rails code or the work/projects/vendor/rails code? -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From alexey.verkhovsky at gmail.com Thu Jan 24 19:30:09 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Thu, 24 Jan 2008 17:30:09 -0700 Subject: [Cruisecontrolrb-users] rails versions confusion In-Reply-To: <2d81dedb0801241407k33e844dbi7c649c22393e4813@mail.gmail.com> References: <2d81dedb0801241407k33e844dbi7c649c22393e4813@mail.gmail.com> Message-ID: <3945c4270801241630t507e05a6i729ed135c5eac3bd@mail.gmail.com> On Jan 24, 2008 3:07 PM, Giles Bowkett wrote: > When CC.rb runs a rake migrate, will it run it against the > vendor/rails code or the work/projects/vendor/rails code? work/projects/vendor/rails How CC.rb dashboard is implemented (and which version of Rails it uses) is completely irrelevant. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From gilesb at gmail.com Thu Jan 24 23:10:41 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Thu, 24 Jan 2008 20:10:41 -0800 Subject: [Cruisecontrolrb-users] rails versions confusion In-Reply-To: <3945c4270801241630t507e05a6i729ed135c5eac3bd@mail.gmail.com> References: <2d81dedb0801241407k33e844dbi7c649c22393e4813@mail.gmail.com> <3945c4270801241630t507e05a6i729ed135c5eac3bd@mail.gmail.com> Message-ID: <2d81dedb0801242010i325570dfp954ea1d47fd5410b@mail.gmail.com> > > When CC.rb runs a rake migrate, will it run it against the > > vendor/rails code or the work/projects/vendor/rails code? > > work/projects/vendor/rails > > How CC.rb dashboard is implemented (and which version of Rails it > uses) is completely irrelevant. Well - thing is, I've got Rails 2 in work/projects/vendor/rails and 1.2.6 in CC.rb's vendor/rails and CC.rb is giving me no method errors on "t.string :widgets" migrations code. If I go inside the project's Rails app and run rake db:migrate from the command line, no problem; when CC.rb runs it, I'm getting the errors. I'll run it again tomorrow and see if I can get actual error output, that'll be more useful, but what I saw looked as if it was invoking rake to run a cc:build task, and that *this* task was then invoking the rake db:migrate (or actually rake db:test:migrate), and doing so with Rake.application.run or something like it. So in *that* context it does appear relevant. It appeared that ccrb was pulling in the rake tasks of the project into its Rake and kaboom. But like I say I'll see if I can grep some actual error output tomorrow rather than trying to do everything from memory. If I'm not wrong then maybe a simple command-line hack could function as a workaround. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From starapor at thoughtworks.com Fri Jan 25 02:06:56 2008 From: starapor at thoughtworks.com (Sarah N Taraporewalla) Date: Fri, 25 Jan 2008 07:06:56 +0000 Subject: [Cruisecontrolrb-users] cruisecontrol.rb setup problems Message-ID: Hi all, We are trying to set up cruisecontrol.rb on a windows machine. We have ruby, rails, cruisecontrol.rb (win32 versions). We have added the project, run throught the tests. The tests run 100% successfully. After the tests run, it apparently uses unit test collector to collect through some tests which have require on "cc:build" which it can't find anymore and spits out an error. We put a print inside dependencies.rb (/vendor/rails) and all this happens after our custom cruise task is called and we can't figure out what's doing the require on "cc:build". The stack trace is: c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- cc:build (MissingSourceFile) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from C:./vendor/rails/activesupport/lib/active_support/dependencies.rb:495 :in `require' from C: ./vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in' from C: ./vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in `require' from c:/ruby/lib/ruby/1.8/test/unit/collector/dir.rb:90:in `collect_file' from c:/ruby/lib/ruby/1.8/test/unit/collector/dir.rb:77:in `recursive_collect' from c:/ruby/lib/ruby/1.8/test/unit/collector/dir.rb:29:in `collect' from c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:68 from c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:213:in `[]' from c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:213:in `run' from c:/ruby/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' from c:/ruby/lib/ruby/1.8/test/unit.rb:278 from -e:1 We are running with the following versions: ruby 1.8.6 rails 1.2.3 cruisecontrol.rb 1.0.0 windowsXP (although we also set it up on a ubuntu 7.10 with the same failures occuring). We have also installed the gems win32-services and win32-open3, mongrel_services. Any ideas on how to make it work? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080125/3f138ed1/attachment.html From will.sargent at gmail.com Sat Jan 26 16:08:44 2008 From: will.sargent at gmail.com (Will Sargent) Date: Sat, 26 Jan 2008 13:08:44 -0800 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? Message-ID: Hi all, Is there any integration with testing tools such as RSpec or Test::Unit planned? I see that the cruise task is run correctly, but the tests show up underneath the build log. Ideally I'd like them to show up the same way that they do in 'java' CruiseControl, in their own section of tests. Will. From gilesb at gmail.com Sat Jan 26 20:28:04 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Sat, 26 Jan 2008 17:28:04 -0800 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? In-Reply-To: References: Message-ID: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> > Is there any integration with testing tools such as RSpec or > Test::Unit planned? I see that the cruise task is run correctly, but > the tests show up underneath the build log. Ideally I'd like them to > show up the same way that they do in 'java' CruiseControl, in their > own section of tests. Hi Will - what do you mean when you say "show up"? As in literally appear on the screen? I think what you're describing is probably easy to do, but I've never used the Java CC. You mean that when CC.rb does a build, you want to be able to see the error output from any failed tests or specs as formatted HTML, linked from the build details page? (I'm not one of the CC.rb devs, I'm just trying to figure out the question.) -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From will.sargent at gmail.com Sat Jan 26 20:47:43 2008 From: will.sargent at gmail.com (Will Sargent) Date: Sat, 26 Jan 2008 17:47:43 -0800 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? In-Reply-To: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> References: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> Message-ID: > Hi Will - what do you mean when you say "show up"? As in literally > appear on the screen? I think what you're describing is probably easy > to do, but I've never used the Java CC. You mean that when CC.rb does > a build, you want to be able to see the error output from any failed > tests or specs as formatted HTML, linked from the build details page? I tried to find something on the CruiseControl site: this is closest I could get. http://cruisecontrol.sourceforge.net/reporting/jsp/buildresultsjspscreenshot.gif You see how there's a tab for unit tests, and it says all unit tests passed? If one of the tests fail, then you see a single line, and then if you click on that line it expands to show the stacktrace. Will. From gilesb at gmail.com Sat Jan 26 20:54:18 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Sat, 26 Jan 2008 17:54:18 -0800 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? In-Reply-To: References: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> Message-ID: <2d81dedb0801261754q5166b072ja622e0ba5f5445bc@mail.gmail.com> > I tried to find something on the CruiseControl site: this is closest I > could get. > > http://cruisecontrol.sourceforge.net/reporting/jsp/buildresultsjspscreenshot.gif > > You see how there's a tab for unit tests, and it says all unit tests > passed? If one of the tests fail, then you see a single line, and > then if you click on that line it expands to show the stacktrace. That's probably pretty easy to add. It depends on whether or not CC.rb captures the test/spec output. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From alexey.verkhovsky at gmail.com Sun Jan 27 04:11:59 2008 From: alexey.verkhovsky at gmail.com (Alexey Verkhovsky) Date: Sun, 27 Jan 2008 02:11:59 -0700 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? In-Reply-To: <2d81dedb0801261754q5166b072ja622e0ba5f5445bc@mail.gmail.com> References: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> <2d81dedb0801261754q5166b072ja622e0ba5f5445bc@mail.gmail.com> Message-ID: <3945c4270801270111x13240d56p520928846ac360c4@mail.gmail.com> On Jan 26, 2008 6:54 PM, Giles Bowkett wrote: > That's probably pretty easy to add. It depends on whether or not CC.rb > captures the test/spec output. Of course. stdin/stdout of the build process is redirected to projects/MyProject/build-NNN/build.log file. -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] From duelin.markers at gmail.com Sun Jan 27 10:11:49 2008 From: duelin.markers at gmail.com (John D. Hume) Date: Sun, 27 Jan 2008 10:11:49 -0500 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? In-Reply-To: <3945c4270801270111x13240d56p520928846ac360c4@mail.gmail.com> References: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> <2d81dedb0801261754q5166b072ja622e0ba5f5445bc@mail.gmail.com> <3945c4270801270111x13240d56p520928846ac360c4@mail.gmail.com> Message-ID: I think maybe Will just wants RSpec failures to show up under "Test Failures and Errors" the way Test::Unit failures do, as requested in http://jira.public.thoughtworks.org/browse/CCRB-102 It's also in http://jira.public.thoughtworks.org/browse/CCRB-169, which seems to be a dupe, though the discussion of enhancing the artifacts directory under CCRB-102 makes it sound like the scope may go beyond the requested "As a Dev, I would like CC.rb to display rspec failures in 'Test Failures and Errors', so that I can use rspec." Will, have you seen how ccrb displays Test::Unit failures, and would that be sufficient for your needs using RSpec? -hume. On Sun, Jan 27, 2008 at 4:11 AM, Alexey Verkhovsky wrote: > On Jan 26, 2008 6:54 PM, Giles Bowkett wrote: > > That's probably pretty easy to add. It depends on whether or not CC.rb > > captures the test/spec output. > > Of course. stdin/stdout of the build process is redirected to > projects/MyProject/build-NNN/build.log file. > > -- > Alexey Verkhovsky > CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] > RubyWorks [http://rubyworks.thoughtworks.com] > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > From will.sargent at gmail.com Mon Jan 28 01:31:26 2008 From: will.sargent at gmail.com (Will Sargent) Date: Sun, 27 Jan 2008 22:31:26 -0800 Subject: [Cruisecontrolrb-users] UI Integration with RSpec? In-Reply-To: References: <2d81dedb0801261728l233083b4pf099e408b1976d33@mail.gmail.com> <2d81dedb0801261754q5166b072ja622e0ba5f5445bc@mail.gmail.com> <3945c4270801270111x13240d56p520928846ac360c4@mail.gmail.com> Message-ID: On Jan 27, 2008 7:11 AM, John D. Hume wrote: > I think maybe Will just wants RSpec failures to show up under "Test > Failures and Errors" the way Test::Unit failures do, as requested in > http://jira.public.thoughtworks.org/browse/CCRB-102 > > It's also in http://jira.public.thoughtworks.org/browse/CCRB-169, > which seems to be a dupe, though the discussion of enhancing the > artifacts directory under CCRB-102 makes it sound like the scope may > go beyond the requested "As a Dev, I would like CC.rb to display rspec > failures in 'Test Failures and Errors', so that I can use rspec." > > Will, have you seen how ccrb displays Test::Unit failures, and would > that be sufficient for your needs using RSpec? I've never seen how ccrb displays Test::Unit failures, but if there's some facility for displaying Test Failures and Errors in their own section, I'd like rSpec to work there. I think that would work perfectly well -- I just don't want people to have to trawl through stack traces. Will. From will.sargent at gmail.com Wed Jan 30 20:04:35 2008 From: will.sargent at gmail.com (Will Sargent) Date: Wed, 30 Jan 2008 17:04:35 -0800 Subject: [Cruisecontrolrb-users] What does it mean when it says that the "builder is down"? Message-ID: I can't find any documentation that would tell me about this. Any log files I should provide? Will. From thewoolleyman at gmail.com Wed Jan 30 20:48:19 2008 From: thewoolleyman at gmail.com (Chad Woolley) Date: Wed, 30 Jan 2008 18:48:19 -0700 Subject: [Cruisecontrolrb-users] What does it mean when it says that the "builder is down"? In-Reply-To: References: Message-ID: On Jan 30, 2008 6:04 PM, Will Sargent wrote: > I can't find any documentation that would tell me about this. Any log > files I should provide? > > Will. The builder process (not the ccrb rails app process) is not running. Each project has a separate, dedicated, builder process. From jeremystellsmith at gmail.com Thu Jan 31 03:30:37 2008 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Thu, 31 Jan 2008 00:30:37 -0800 Subject: [Cruisecontrolrb-users] What does it mean when it says that the "builder is down"? In-Reply-To: References: Message-ID: so if you request a build through the ui, it should start the builder. also, all builders should automatically start when you run "./cruise start". if the builder doesn't start, check the builder log for it. one situation that results in this is when you add a project after cruise is already started. this is normal, and as stated above, the suggested way to start the builder is through the dashboard's request build. Jeremy On Jan 30, 2008 5:48 PM, Chad Woolley wrote: > On Jan 30, 2008 6:04 PM, Will Sargent wrote: > > I can't find any documentation that would tell me about this. Any log > > files I should provide? > > > > Will. > > The builder process (not the ccrb rails app process) is not running. > Each project has a separate, dedicated, builder process. > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080131/f7babac2/attachment.html From will.sargent at gmail.com Thu Jan 31 12:57:02 2008 From: will.sargent at gmail.com (Will Sargent) Date: Thu, 31 Jan 2008 09:57:02 -0800 Subject: [Cruisecontrolrb-users] What does it mean when it says that the "builder is down"? In-Reply-To: References: Message-ID: On Jan 31, 2008 12:30 AM, Jeremy Stell-Smith wrote: > so if you request a build through the ui, it should start the builder. > also, all builders should automatically start when you run "./cruise start". > if the builder doesn't start, check the builder log for it. > > one situation that results in this is when you add a project after cruise is > already started. this is normal, and as stated above, the suggested way to > start the builder is through the dashboard's request build. Okay, I don't think this is normal. Here's the relevant bit of the log: [info] [2008-01-30 16:56:21] Build 1747 started [error] Input/output error [error] ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:16:in `write' [error] ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:16:in `puts' [error] ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:16:in `build_finished' [error] ./script/../config/../app/models/project.rb:325:in `send' [error] ./script/../config/../app/models/project.rb:325:in `notify' [error] ./script/../config/../app/models/project.rb:323:in `collect' [error] ./script/../config/../app/models/project.rb:323:in `notify' [error] ./script/../config/../app/models/project.rb:303:in `build' [error] ./script/../config/../app/models/project.rb:209:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:79 [error] ./script/builder:78:in `catch' [error] ./script/builder:78 [error] script/../config/../cruise:14:in `load' [error] script/../config/../cruise:14:in `builder' [error] script/../config/../cruise:68:in `send' [error] script/../config/../cruise:68 [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd' [error] script/../config/../cruise:67 [error] Input/output error [error] ./script/../config/../lib/cruise_control/log.rb:35:in `write' [error] ./script/../config/../lib/cruise_control/log.rb:35:in `puts' [error] ./script/../config/../lib/cruise_control/log.rb:35:in `method_missing' [error] ./script/../config/../app/models/project.rb:327:in `notify' [error] ./script/../config/../app/models/project.rb:323:in `collect' [error] ./script/../config/../app/models/project.rb:323:in `notify' [error] ./script/../config/../app/models/project.rb:303:in `build' [error] ./script/../config/../app/models/project.rb:209:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:79 [error] ./script/builder:78:in `catch' [error] ./script/builder:78 [error] script/../config/../cruise:14:in `load' [error] script/../config/../cruise:14:in `builder' [error] script/../config/../cruise:68:in `send' [error] script/../config/../cruise:68 [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd' [error] script/../config/../cruise:67 [fatal] Input/output error [fatal] ./script/../config/../app/models/polling_scheduler.rb:62:in `write' [fatal] ./script/../config/../app/models/polling_scheduler.rb:62:in `puts' [fatal] ./script/../config/../app/models/polling_scheduler.rb:62:in `log_error' [fatal] ./script/../config/../app/models/polling_scheduler.rb:17:in `run' [fatal] ./script/builder:79 [fatal] ./script/builder:78:in `catch' [fatal] ./script/builder:78 [fatal] script/../config/../cruise:14:in `load' [fatal] script/../config/../cruise:14:in `builder' [fatal] script/../config/../cruise:68:in `send' [fatal] script/../config/../cruise:68 [fatal] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' [fatal] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd' From jeremystellsmith at gmail.com Thu Jan 31 13:07:57 2008 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Thu, 31 Jan 2008 10:07:57 -0800 Subject: [Cruisecontrolrb-users] What does it mean when it says that the "builder is down"? In-Reply-To: References: Message-ID: Is it possible that you created the project w/ different permissions than you're running cruise from? Maybe you could remove the project directory and recreate it "./cruise add ..." then try "./cruise start" again and see if it still happens Jeremy On Jan 31, 2008 9:57 AM, Will Sargent wrote: > On Jan 31, 2008 12:30 AM, Jeremy Stell-Smith > wrote: > > so if you request a build through the ui, it should start the builder. > > also, all builders should automatically start when you run "./cruise > start". > > if the builder doesn't start, check the builder log for it. > > > > one situation that results in this is when you add a project after > cruise is > > already started. this is normal, and as stated above, the suggested way > to > > start the builder is through the dashboard's request build. > > Okay, I don't think this is normal. Here's the relevant bit of the log: > > [info] [2008-01-30 16:56:21] Build 1747 started > [error] Input/output error > [error] > ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:16:in > `write' > [error] > ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:16:in > `puts' > [error] > ./script/../config/../builder_plugins/installed/minimal_console_logger.rb:16:in > `build_finished' > [error] ./script/../config/../app/models/project.rb:325:in `send' > [error] ./script/../config/../app/models/project.rb:325:in `notify' > [error] ./script/../config/../app/models/project.rb:323:in `collect' > [error] ./script/../config/../app/models/project.rb:323:in `notify' > [error] ./script/../config/../app/models/project.rb:303:in `build' > [error] ./script/../config/../app/models/project.rb:209:in > `build_if_necessary' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > [error] ./script/builder:79 > [error] ./script/builder:78:in `catch' > [error] ./script/builder:78 > [error] script/../config/../cruise:14:in `load' > [error] script/../config/../cruise:14:in `builder' > [error] script/../config/../cruise:68:in `send' > [error] script/../config/../cruise:68 > [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' > [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd' > [error] script/../config/../cruise:67 > [error] Input/output error > [error] ./script/../config/../lib/cruise_control/log.rb:35:in `write' > [error] ./script/../config/../lib/cruise_control/log.rb:35:in `puts' > [error] ./script/../config/../lib/cruise_control/log.rb:35:in > `method_missing' > [error] ./script/../config/../app/models/project.rb:327:in `notify' > [error] ./script/../config/../app/models/project.rb:323:in `collect' > [error] ./script/../config/../app/models/project.rb:323:in `notify' > [error] ./script/../config/../app/models/project.rb:303:in `build' > [error] ./script/../config/../app/models/project.rb:209:in > `build_if_necessary' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > [error] ./script/builder:79 > [error] ./script/builder:78:in `catch' > [error] ./script/builder:78 > [error] script/../config/../cruise:14:in `load' > [error] script/../config/../cruise:14:in `builder' > [error] script/../config/../cruise:68:in `send' > [error] script/../config/../cruise:68 > [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' > [error] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd' > [error] script/../config/../cruise:67 > [fatal] Input/output error > [fatal] ./script/../config/../app/models/polling_scheduler.rb:62:in > `write' > [fatal] ./script/../config/../app/models/polling_scheduler.rb:62:in > `puts' > [fatal] ./script/../config/../app/models/polling_scheduler.rb:62:in > `log_error' > [fatal] ./script/../config/../app/models/polling_scheduler.rb:17:in > `run' > [fatal] ./script/builder:79 > [fatal] ./script/builder:78:in `catch' > [fatal] ./script/builder:78 > [fatal] script/../config/../cruise:14:in `load' > [fatal] script/../config/../cruise:14:in `builder' > [fatal] script/../config/../cruise:68:in `send' > [fatal] script/../config/../cruise:68 > [fatal] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `chdir' > [fatal] /usr/local/lib/ruby/1.8/fileutils.rb:121:in `cd' > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080131/5177552b/attachment-0001.html From gilesb at gmail.com Thu Jan 31 16:20:09 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Thu, 31 Jan 2008 13:20:09 -0800 Subject: [Cruisecontrolrb-users] thoughtworks site down? / another tiny patch for Rails 2 compatibility Message-ID: <2d81dedb0801311320g3de2d1br3788085a78e120aa@mail.gmail.com> Hi - couldn't find the dev list because it appears http://cruisecontrolrb.thoughtworks.com/ is throwing 503 errors. But, to get CCrb running with the new ActiveSupport, I had to do this: http://s3.amazonaws.com/giles/ccrb_duration_patch.jpg (Sorry to submit my patch in JPEG format but you know what they say, anything for a weird life.) The changes are on lines 18 and 27: ".value" added to the end of attr_accessor calls to Configuration, passed as args to sleep. (The file is app/models/polling_scheduler.rb.) The reason is that 30.seconds (inside app/models/configuration.rb) won't return a time interval any more, but an ActiveSupport::Duration, which has a value attribute which is a time interval. I'm still having issues running it under Rails 2, but this fix gets the builder loop working with ActiveSupport 2.0.2. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From gilesb at gmail.com Thu Jan 31 16:21:23 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Thu, 31 Jan 2008 13:21:23 -0800 Subject: [Cruisecontrolrb-users] thoughtworks site down? / another tiny patch for Rails 2 compatibility In-Reply-To: <2d81dedb0801311320g3de2d1br3788085a78e120aa@mail.gmail.com> References: <2d81dedb0801311320g3de2d1br3788085a78e120aa@mail.gmail.com> Message-ID: <2d81dedb0801311321q4febcf5bvb9f13487651473b6@mail.gmail.com> Just a note, a better version of the same patch would probably include something like this: class ActiveSupport::Duration alias :to_time_interval :value end -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com From gilesb at gmail.com Thu Jan 31 17:06:46 2008 From: gilesb at gmail.com (Giles Bowkett) Date: Thu, 31 Jan 2008 14:06:46 -0800 Subject: [Cruisecontrolrb-users] migration problems: just my code Message-ID: <2d81dedb0801311406y552f75ecm5402b45ef3fa7c71@mail.gmail.com> Hi all, posted here a little while back about migration problems with CCrb - turns out these were due to the code base I was working on, not CCrb. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com