From PDJulius at ThoughtWorks.COM Mon Mar 12 15:03:55 2007 From: PDJulius at ThoughtWorks.COM (Paul D Julius) Date: Mon, 12 Mar 2007 14:03:55 -0500 Subject: [Cruisecontrolrb-users] CC.rb demo site link broken Message-ID: On the page http://cruisecontrolrb.thoughtworks.com/documentation/docs.html there is a sentence that reads Here is a public CruiseControl.rb instance building itself and some other open-source projects. But the "here" link just links back to the CC.rb home page, not a demo site. - PJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070312/e31432f4/attachment.html From averkhov at thoughtworks.com Mon Mar 12 16:36:21 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Mon, 12 Mar 2007 14:36:21 -0600 Subject: [Cruisecontrolrb-users] CC.rb demo site link broken In-Reply-To: Message-ID: Thanks for the heads-up. Fixed. Alex Paul D Julius Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/12/2007 01:03 PM To cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-users] CC.rb demo site link broken On the page http://cruisecontrolrb.thoughtworks.com/documentation/docs.html there is a sentence that reads Here is a public CruiseControl.rb instance building itself and some other open-source projects. But the "here" link just links back to the CC.rb home page, not a demo site. - PJ _______________________________________________ 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/20070312/b58d8842/attachment.html From nick at ekenosen.net Tue Mar 13 11:08:11 2007 From: nick at ekenosen.net (nicholas a. evans) Date: Tue, 13 Mar 2007 11:08:11 -0400 Subject: [Cruisecontrolrb-users] Typo on Getting Started page Message-ID: <276ff9870703130808s48014352l74761bf4cdf642aa@mail.gmail.com> In step 5, "Go to [cruise]/builds/your_project/work/ and make the build pass." should be "Go to [cruise]/projects/your_project/work/ and make the build pass." Same thing in step 6: s/builds/projects/. By the way, it's looking fantastic! Thanks! It's *much* faster and easier to setup than the original CC and CC.Net. -- Nick From averkhov at thoughtworks.com Tue Mar 13 11:37:15 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Tue, 13 Mar 2007 10:37:15 -0500 Subject: [Cruisecontrolrb-users] Correcting documentation Message-ID: In version 0.5 the directory where project-specific data and build artifacts are stored was renamed from 'builds' to 'projects'. Unfortunately, we did not update some parts of the documentation to reflect this fact. So whenever Getting Started page in version 1.0 says [cruise]/builds/, it should be [cruise]/projects/ Thanks to Nick Evans for pointing it out. Best regards, Alex Verkhovsky -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070313/33ea2d5a/attachment.html From ketanpadegaonkar at gmail.com Wed Mar 14 06:44:50 2007 From: ketanpadegaonkar at gmail.com (Ketan Padegaonkar) Date: Wed, 14 Mar 2007 16:14:50 +0530 Subject: [Cruisecontrolrb-users] CC.rb tray control or eclipse based dashboard ? Message-ID: Hi, I'm am/was an Eclipse plugin developer until sometime back before joining TW. I was just wondering if anyone's made a cctray equivalent for CC.rb ? Does CC.rb share the same protocol as that of CC or CCNet ? I'd be interested in providing a Java/SWT based tray application for cc.rb, and an eclipse plugin that serves as a dashboard for cc.rb. Could someone point me to the right place ? I'm still a newbie to learning ruby, so I would be able to read through some stuff that someone points out. -- Ketan Padegaonkar I blog... Therefore I am... http://ketan.padegaonkar.name From saimonmoore at gmail.com Wed Mar 14 06:47:14 2007 From: saimonmoore at gmail.com (Saimon Moore) Date: Wed, 14 Mar 2007 10:47:14 +0000 Subject: [Cruisecontrolrb-users] Problem building project. Locale related? Message-ID: Hi, I'm getting the following error whn building my project. I get the feeling it's related to the accented 'o' in "Revisi?n: 82" as my subversion clients are localized to spanish. Is this the problem or am I doing something else that's incorrect? Regards, Saimon Build loop failed RuntimeError: "Revisi?n: 82" does not match 'name: value' pattern ./script/../config/../script/../config/../app/models/subversion.rb:38:in `info' ./script/../config/../script/../config/../app/models/subversion.rb:33:in `each_line' ./script/../config/../script/../config/../app/models/subversion.rb:33:in `info' ./script/../config/../script/../config/../lib/command_line.rb:89:in `call' ./script/../config/../script/../config/../lib/command_line.rb:89:in `e' ./script/../config/../script/../config/../lib/command_line.rb:87:in `popen' ./script/../config/../script/../config/../lib/command_line.rb:87:in `e' ./script/../config/../script/../config/../lib/command_line.rb:74:in `execute' ./script/../config/../script/../config/../lib/command_line.rb:73:in `chdir' ./script/../config/../script/../config/../lib/command_line.rb:73:in `execute' ./script/../config/../script/../config/../app/models/subversion.rb:32:in `info' ./script/../config/../script/../config/../app/models/subversion.rb:31:in `chdir' ./script/../config/../script/../config/../app/models/subversion.rb:31:in `info' ./script/../config/../script/../config/../app/models/subversion.rb:48:in `latest_revision' ./script/../config/../script/../config/../app/models/project.rb:169:in `new_revisions' ./script/../config/../script/../config/../app/models/project.rb:151:in `build_if_necessary' ./script/../config/../script/../config/../app/models/polling_scheduler.rb:13:in `run' ./script/../config/../script/builder:78 ./script/../config/../script/builder:77:in `catch' ./script/../config/../script/builder:77 script/../config/../cruise:13:in `load' script/../config/../cruise:13:in `builder' script/../config/../cruise:65:in `send' script/../config/../cruise:65 [error] wrong number of arguments (1 for 0) [error] "Revisi?n: 82" does not match 'name: value' pattern -- Saimon Moore Freelance Web Developer (Available for hire - For details visit http://saimonmoore.net) Skype: saimonmoore Yahoo IM: saimonmoore Google IM: saimonmoore -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070314/aef3071c/attachment-0001.html From ketanpadegaonkar at gmail.com Wed Mar 14 07:31:21 2007 From: ketanpadegaonkar at gmail.com (Ketan Padegaonkar) Date: Wed, 14 Mar 2007 17:01:21 +0530 Subject: [Cruisecontrolrb-users] CC.rb tray control or eclipse based dashboard ? In-Reply-To: References: Message-ID: Hi again, I just realized that CC.rb does work with cctray (http://cruisecontrolrb.thoughtworks.com/documentation/docs.html). So one of my questions is answered :) I've looked at http://dashboard.sourceforge.net/ and that does not seem to work with CC. So I'm still available to make a cctray in eclipse/SWT so that linux users can use it as well :) -- Ketan Padegaonkar I blog... Therefore I am... http://ketan.padegaonkar.name On 3/14/07, Ketan Padegaonkar wrote: > Hi, > > I'm am/was an Eclipse plugin developer until sometime back before > joining TW. I was just wondering if anyone's made a cctray equivalent > for CC.rb ? Does CC.rb share the same protocol as that of CC or CCNet > ? > > I'd be interested in providing a Java/SWT based tray application for > cc.rb, and an eclipse plugin that serves as a dashboard for cc.rb. > > Could someone point me to the right place ? I'm still a newbie to > learning ruby, so I would be able to read through some stuff that > someone points out. > > -- > Ketan Padegaonkar > I blog... Therefore I am... http://ketan.padegaonkar.name > From seth at mojodna.net Wed Mar 14 10:31:32 2007 From: seth at mojodna.net (Seth Fitzsimmons) Date: Wed, 14 Mar 2007 10:31:32 -0400 Subject: [Cruisecontrolrb-users] running unattended Message-ID: <1E27B79A-7CB8-463E-AE71-EA37AC1A6E01@mojodna.net> Hi all. What's the preferred method for running CC.rb unattended? (I.e. in the background; backgrounding it and logging off of the machine causes the builder to die, even while the web interface continues to respond.) thanks. seth From tdjordan at gmail.com Wed Mar 14 12:51:19 2007 From: tdjordan at gmail.com (Tom Jordan) Date: Wed, 14 Mar 2007 11:51:19 -0500 Subject: [Cruisecontrolrb-users] [Cruisecontrolrb-developers] CC.rb tray control or eclipse based dashboard ? In-Reply-To: References: Message-ID: <4ebb98050703140951u5fb059a3p9b0b34900d91eed5@mail.gmail.com> I was able to view the http://cruisecontrolrb.thoughtworks.com/ links by using that link in the http transport of cctray. However, it appears that cctray doesn't support force builds for projects monitored via HTTP. Is a way around this? Thanks, -- Tom. On 3/14/07, Rolf Russell wrote: > > > Yup, you can use CCTray. Instructions are at > http://cruisecontrolrb.thoughtworks.com/documentation/manual.html > > > > -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070314/d7ce9dcf/attachment.html From averkhov at thoughtworks.com Wed Mar 14 12:51:41 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 14 Mar 2007 11:51:41 -0500 Subject: [Cruisecontrolrb-users] Problem building project. Locale related? In-Reply-To: Message-ID: cruisecontrolrb-users-bounces at rubyforge.org wrote on 03/14/2007 04:47:14 AM: > I'm getting the following error whn building my project. > > I get the feeling it's related to the accented 'o' in "Revisi?n: 82" > as my subversion clients are localized to spanish. That's right, it is about SVN localization. We will be including a fix in the next release, meantime the workaround is to change your SVN client on the build box to use English. You may also have some luck with the patch attached to http://jira.public.thoughtworks.org/browse/CCRB-6. Best regards, Alexey Verkhovsky -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070314/6bf3edfc/attachment.html From averkhov at thoughtworks.com Wed Mar 14 13:04:50 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 14 Mar 2007 12:04:50 -0500 Subject: [Cruisecontrolrb-users] running unattended In-Reply-To: <1E27B79A-7CB8-463E-AE71-EA37AC1A6E01@mojodna.net> Message-ID: > What's the preferred method for running CC.rb unattended? Simplest thing that can possibly work is "nohup ./cruise start &". problem with this is that it doesn't start CC.rb after reboot. If someone wants to write Linux init scripts, the right way is probably to start dashboard as "cruise start --daemon --without-builders" option, and then start each builder separately by "cruise build" Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070314/8607eb09/attachment.html From lei.sun at gmail.com Wed Mar 14 14:40:30 2007 From: lei.sun at gmail.com (Lei Sun) Date: Wed, 14 Mar 2007 11:40:30 -0700 Subject: [Cruisecontrolrb-users] Damonlize cruisecontrol.rb? Message-ID: Hi, This looks like an awesome tool that I have been looking for. Do you have a simple way to get it running as a damon? So I can just run it as a service on my server. Thanks Lei -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070314/dfe2692a/attachment.html From tdjordan at gmail.com Wed Mar 14 15:42:00 2007 From: tdjordan at gmail.com (Tom Jordan) Date: Wed, 14 Mar 2007 14:42:00 -0500 Subject: [Cruisecontrolrb-users] Damonlize cruisecontrol.rb? In-Reply-To: References: Message-ID: <4ebb98050703141242k42fa670bu3ef7e29845510f3@mail.gmail.com> Hi Lei: What operating system? -- Tom. On 3/14/07, Lei Sun wrote: > Hi, > > This looks like an awesome tool that I have been looking for. > > Do you have a simple way to get it running as a damon? So I can just run it > as a service on my server. > > Thanks > > Lei > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > -- "Nothing will ever be attempted, if all possible objections must first be overcome." - Samuel Johnson "Luck is what happens when preparation meets opportunity." - Seneca From shane.duan at gmail.com Thu Mar 15 01:06:21 2007 From: shane.duan at gmail.com (Shane Duan) Date: Wed, 14 Mar 2007 22:06:21 -0700 Subject: [Cruisecontrolrb-users] greetings, and first question Message-ID: Hi, Nice project. I saw the checkin for jbehave and I thought "SOLD!" One question, is there a reason that it cannot be installed using gem? It would make starting the server easy. Other people can also customize the server like they do with Jetty (which I think is the coolest servlet engine because of that). -- Shane http://www.shaneduan.com From averkhov at thoughtworks.com Thu Mar 15 03:32:52 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 15 Mar 2007 01:32:52 -0600 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: Message-ID: cruisecontrolrb-users-bounces at rubyforge.org wrote on 03/14/2007 11:06:21 PM: > One question, is there a reason that it cannot be installed using gem? Come on, guys (and gals), is "download and unzip" that much harder than "gem install ccrb"? Especially, to anyone who have ever installed a J2EE application? :) On a more serious note, we've been asked about this a lot, and here is my 2 cents on it. I've been through gem packaging with Instiki. It's much more complex than it seems, because gems are really intended for packaging libraries and tools, not web applications that need to persist data and configuration. Installing an app through gems complicates data storage, because now you have it in /usr/lib/ruby/gems, and on *nixes that directory is owned by root, and is read-only to anybody else. So, you then face a question: how do I put the data somewhere more appropriate, perhaps ~/.ccrb? In case of CC.rb, the data that needs to be kept elsewhere is in all of these places: * projects/ * tmp/ * some files in ./public (the cached pages), but not all of them * log/ * config/site_config.rb * builder_plugins/installed/ Clearly, Rails application structure was not designed with gem packaging in mind, either... In fact, the biggest benefit of gem packaging is in the version upgrades. But it comes with significant implementation and maintenance cost. We are still debating within CC.rb team whether we should do gem packaging or not. Personally, I think that we have more useful stories to do. Best regards, Alex Verkhovsky -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/2f591ffd/attachment.html From david.smalley.lists at googlemail.com Thu Mar 15 04:03:46 2007 From: david.smalley.lists at googlemail.com (David Smalley) Date: Thu, 15 Mar 2007 08:03:46 +0000 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: References: Message-ID: On 15 Mar 2007, at 07:32, Alexey Verkhovsky wrote: > > cruisecontrolrb-users-bounces at rubyforge.org wrote on 03/14/2007 > 11:06:21 PM: > > One question, is there a reason that it cannot be installed using > gem? > > Come on, guys (and gals), is "download and unzip" that much harder > than "gem install ccrb"? Especially, to anyone who have ever > installed a J2EE application? :) > > On a more serious note, we've been asked about this a lot, and here > is my 2 cents on it. > > > I've been through gem packaging with Instiki. It's much more > complex than it seems, because gems are really intended for > packaging libraries and tools, not web applications that need to > persist data and configuration. > Installing an app through gems complicates data storage, because > now you have it in /usr/lib/ruby/gems, and on *nixes that directory > is owned by root, and is read-only to anybody else. > So, you then face a question: how do I put the data somewhere more > appropriate, perhaps ~/.ccrb? > Alexey, I think you are spot on - every downloadable full Rails app (Typo/ Mephisto as the first examples I can think of) come shipped as tar/ zip. I see exactly your point regarding gems and they definitely do not seem suited for an app that needs to persist a large amount of data. I don't think anyone can give a good enough argument for having this ship as a gem, I agree the only angle on that may be upgrading to new versions - but this has never phased me on mephisto, just download the new package and unzip over the top. Just make sure all the example config files are named such that they don't over-write any pre-existing config's I've set up and its good to go. You guys shouldn't waste time building a gem, spend the time on what is turning out to be a great application! Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/052e176e/attachment-0001.html From lei.sun at gmail.com Thu Mar 15 13:04:07 2007 From: lei.sun at gmail.com (Lei Sun) Date: Thu, 15 Mar 2007 10:04:07 -0700 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: References: Message-ID: On 3/15/07, David Smalley wrote: > > On 15 Mar 2007, at 07:32, Alexey Verkhovsky wrote: > > > cruisecontrolrb-users-bounces at rubyforge.org wrote on 03/14/2007 11:06:21 > PM: > > One question, is there a reason that it cannot be installed using gem? > > Come on, guys (and gals), is "download and unzip" that much harder than > "gem install ccrb"? Especially, to anyone who have ever installed a J2EE > application? :) > > On a more serious note, we've been asked about this a lot, and here is my > 2 cents on it. > > > I've been through gem packaging with Instiki. It's much more complex than > it seems, because gems are really intended for packaging libraries and > tools, not web applications that need to persist data and configuration. > Installing an app through gems complicates data storage, because now you > have it in /usr/lib/ruby/gems, and on *nixes that directory is owned by > root, and is read-only to anybody else. > So, you then face a question: how do I put the data somewhere more > appropriate, perhaps ~/.ccrb? > > > Alexey, > > I think you are spot on - every downloadable full Rails app (Typo/Mephisto > as the first examples I can think of) come shipped as tar/zip. I see exactly > your point regarding gems and they definitely do not seem suited for an app > that needs to persist a large amount of data. > > I don't think anyone can give a good enough argument for having this ship > as a gem, I agree the only angle on that may be upgrading to new versions - > but this has never phased me on mephisto, just download the new package and > unzip over the top. Just make sure all the example config files are named > such that they don't over-write any pre-existing config's I've set up and > its good to go. > > You guys shouldn't waste time building a gem, spend the time on what is > turning out to be a great application! > > Cheers, > > David > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > Well, having it as a gem is like you guys spend time once, and everyone else can enjoy the result. It might take you 1 day to automate the process, 10 minutes to build it, and 10 hours a month to maintain this automated building system, but it is going to save all of CCRB user 2 hours to figure out what to do the first time, 1 hour trying to do it right, and all of the later maintenances that's caused by CCRB's changes. If you think about it, its a big saving in time, and a great marketing strategy for you to promote ccrb even further. It's like you are able to sell your product with more sales channels, and more types of packaging. Because not everyone is interested in the same flavor. Lei -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/77cef786/attachment.html From david.smalley.lists at googlemail.com Thu Mar 15 13:13:28 2007 From: david.smalley.lists at googlemail.com (David Smalley) Date: Thu, 15 Mar 2007 17:13:28 +0000 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: References: Message-ID: On 15 Mar 2007, at 17:04, Lei Sun wrote: > but it is going to save all of CCRB user 2 hours to figure out what > to do the first time, 1 hour trying to do it right, and all of the > later maintenances that's caused by CCRB's changes. If you think > about it, its a big saving in time, and a great marketing strategy > for you to promote ccrb even further. I'd disagree that packaging as a gem would actually save any time - all packaging it as a gem does is allow people to type "gem install xxxxx" - from them on they'd still need to follow the same procedure as anyone who'd unzipped a tarball and it would mean that the Cruisecontrol.rb team would actually have to write two sets of instructions to support the more complicated gem method of installing. The gem install would still involve creating a space for persistent storage somewhere accessible to the user. The instructions for CruiseControl are very straight forward and I don't think using a gem would save anything other than having to go and find the URL to download the tarball. All I see is extra time for the ccrb team for no real gain for end users. Am I missing something? David -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/b3b68bf8/attachment.html From averkhov at thoughtworks.com Thu Mar 15 13:30:34 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 15 Mar 2007 12:30:34 -0500 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: Message-ID: > You guys shouldn't waste time building a gem, spend the time on what > is turning out to be a great application! vs. > its a big saving in time, > and a great marketing strategy for you to promote ccrb even further. Is a nice summary of the gem contoversy. :) Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/08921dbc/attachment.html From lei.sun at gmail.com Thu Mar 15 13:57:19 2007 From: lei.sun at gmail.com (Lei Sun) Date: Thu, 15 Mar 2007 10:57:19 -0700 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: References: Message-ID: On 3/15/07, David Smalley wrote: > > > On 15 Mar 2007, at 17:04, Lei Sun wrote: > > but it is going to save all of CCRB user 2 hours to figure out what to do > the first time, 1 hour trying to do it right, and all of the later > maintenances that's caused by CCRB's changes. If you think about it, its a > big saving in time, and a great marketing strategy for you to promote ccrb > even further. > > > I'd disagree that packaging as a gem would actually save any time - all > packaging it as a gem does is allow people to type "gem install xxxxx" - > from them on they'd still need to follow the same procedure as anyone who'd > unzipped a tarball and it would mean that the Cruisecontrol.rb team would > actually have to write two sets of instructions to support the more > complicated gem method of installing. The gem install would still involve > creating a space for persistent storage somewhere accessible to the user. > > The instructions for CruiseControl are very straight forward and I don't > think using a gem would save anything other than having to go and find the > URL to download the tarball. All I see is extra time for the ccrb team for > no real gain for end users. Am I missing something? > > David > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > Well, not only gem install, also gem update! gem uninstall, gem install with dependency, etc. etc. There are scripts you use to setup and configure everything. Just think about it, if someone has all of their software installed using gem, all he/she needs to do to upgrade all of the software is 'gem update'. Even though unzipping is not hard for one software. If every software requires people to unzip, there is going to be an upgrade maintenance nightmare. That's why there is a gem packaging system for ruby based software. Linux have package system, Freebsd has ports. People won't be ticked off if you politely ask them where they want to setup the persistent storage once, and remember the config later, so they don't have to worry about doing it everytime they install or upgrade. Plus, they don't have to write an extra automating shell script to unzip the distro, and simple add one more entry to the original install script using gem install and gem update. Also, when you are running gem to install the gems, you usually set the env up, so that you have write privilege to the place you install them, normally either root, or your home dir. So there isn't really a problem there. Lei -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/872075f2/attachment.html From lei.sun at gmail.com Thu Mar 15 14:00:24 2007 From: lei.sun at gmail.com (Lei Sun) Date: Thu, 15 Mar 2007 11:00:24 -0700 Subject: [Cruisecontrolrb-users] greetings, and first question In-Reply-To: References: Message-ID: On 3/15/07, Lei Sun wrote: > > > > On 3/15/07, David Smalley wrote: > > > > > > On 15 Mar 2007, at 17:04, Lei Sun wrote: > > > > but it is going to save all of CCRB user 2 hours to figure out what to > > do the first time, 1 hour trying to do it right, and all of the later > > maintenances that's caused by CCRB's changes. If you think about it, its a > > big saving in time, and a great marketing strategy for you to promote ccrb > > even further. > > > > > > I'd disagree that packaging as a gem would actually save any time - all > > packaging it as a gem does is allow people to type "gem install xxxxx" - > > from them on they'd still need to follow the same procedure as anyone who'd > > unzipped a tarball and it would mean that the Cruisecontrol.rb team > > would actually have to write two sets of instructions to support the more > > complicated gem method of installing. The gem install would still involve > > creating a space for persistent storage somewhere accessible to the user. > > > > The instructions for CruiseControl are very straight forward and I don't > > think using a gem would save anything other than having to go and find the > > URL to download the tarball. All I see is extra time for the ccrb team for > > no real gain for end users. Am I missing something? > > > > David > > > > > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > Cruisecontrolrb-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > > > Well, not only gem install, also gem update! gem uninstall, gem install > with dependency, etc. etc. There are scripts you use to setup and configure > everything. > > Just think about it, if someone has all of their software installed using > gem, all he/she needs to do to upgrade all of the software is 'gem update'. > > Even though unzipping is not hard for one software. If every software > requires people to unzip, there is going to be an upgrade maintenance > nightmare. > > That's why there is a gem packaging system for ruby based software. Linux > have package system, Freebsd has ports. > > People won't be ticked off if you politely ask them where they want to > setup the persistent storage once, and remember the config later, so they > don't have to worry about doing it everytime they install or upgrade. Plus, > they don't have to write an extra automating shell script to unzip the > distro, and simple add one more entry to the original install script using > gem install and gem update. > > Also, when you are running gem to install the gems, you usually set the > env up, so that you have write privilege to the place you install them, > normally either root, or your home dir. So there isn't really a problem > there. > > Lei Oh, Plus, it will save you tons of SUPPORT TIME and all the people from this list to answer the novice question about how to install the thing every time when there is some change. Lei -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/2052d617/attachment-0001.html From jeffscadden at hotmail.com Thu Mar 15 22:28:19 2007 From: jeffscadden at hotmail.com (Jeff Scadden) Date: Thu, 15 Mar 2007 19:28:19 -0700 Subject: [Cruisecontrolrb-users] Run in the background Message-ID: How do I set cruisecontrol.rb to run in the background on linux.I am using xubuntu.I have tried: ./cruise start & ./cruise start -dboth of these will work until I close the console window. As soon as the console is closed the next build displays "builder broken"Any ideas what I am doing wrong.Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070315/97d636be/attachment.html From averkhov at thoughtworks.com Thu Mar 15 22:53:46 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Thu, 15 Mar 2007 21:53:46 -0500 Subject: [Cruisecontrolrb-users] Run in the background In-Reply-To: Message-ID: The simplest way is: nohup ./cruise start & It looks like the -d (--daemon) option is broken in 1.0. Alex Jeff Scadden Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/15/2007 08:28 PM To cc Subject [Cruisecontrolrb-users] Run in the background How do I set cruisecontrol.rb to run in the background on linux. I am using xubuntu. I have tried: ./cruise start & ./cruise start -d both of these will work until I close the console window. As soon as the console is closed the next build displays "builder broken" Any ideas what I am doing wrong. Jeff ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ 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/20070315/e5d786df/attachment.html From david.smalley.lists at googlemail.com Fri Mar 16 03:47:41 2007 From: david.smalley.lists at googlemail.com (David Smalley) Date: Fri, 16 Mar 2007 07:47:41 +0000 Subject: [Cruisecontrolrb-users] Run in the background In-Reply-To: References: Message-ID: <33EE739A-B7A5-4653-BD85-58D5965C20A7@googlemail.com> I had that exact problem. In the end I used -d and when it showed 'builder down' I did a force build and everything started working again. Unless they built in some code to kick start the builder then there must be something going wrong behind the scenes to make the front end think the builder dies. -d works but & doesn't, thats a mongrel thing. David On 16 Mar 2007, at 02:28, Jeff Scadden wrote: > How do I set cruisecontrol.rb to run in the background on linux. > I am using xubuntu. > I have tried: > ./cruise start & > ./cruise start -d > > both of these will work until I close the console window. As soon > as the console is closed the next build displays "builder broken" > Any ideas what I am doing wrong. > > Jeff > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From dmg2n at virginia.edu Fri Mar 16 08:40:10 2007 From: dmg2n at virginia.edu (Duane Gran) Date: Fri, 16 Mar 2007 08:40:10 -0400 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl Message-ID: <6FA7E31F-FE7E-4B1E-B53D-67D7D43B54CC@virginia.edu> After running "cruise add" with an https url to project in SVN I get a stack trace indicating problems referencing openssl: /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ custom_require.rb:21:in `require__': no such file to load -- openssl (MissingSourceFile) from /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/ rubygems/custom_require.rb:21:in `require' Has anyone seen this situation before? Suggestions on what to try next would be most appreciated. Duane Gran -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4210 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070316/75300cef/attachment.bin From jeremystellsmith at gmail.com Fri Mar 16 09:40:24 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Fri, 16 Mar 2007 06:40:24 -0700 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: <834B9A94-A9BF-463E-8C7C-749F7287AE8C@virginia.edu> References: <6FA7E31F-FE7E-4B1E-B53D-67D7D43B54CC@virginia.edu> <834B9A94-A9BF-463E-8C7C-749F7287AE8C@virginia.edu> Message-ID: Can you include the exact command you're using on the command line for add the project? If you have a password on it, you can *** it out. I just verified that I can successfully add a project for https://svn.apache.org/repos/asf/xalan/test/trunk/ Jeremy On 3/16/07, Duane Gran wrote: > > Jeremy, > > Thanks for writing. Yes, I should have clarified that the svn command > line client works just fine on this machine. > > Duane > > On Mar 16, 2007, at 9:28 AM, Jeremy Stell-Smith wrote: > > if you do a regular svn checkout of the same, does it work? > > On 3/16/07, Duane Gran wrote: > > > > After running "cruise add" with an https url to project in SVN I get > > a stack trace indicating problems referencing openssl: > > > > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:21:in `require__': no such file to load -- openssl > > (MissingSourceFile) > > from /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/ > > rubygems/custom_require.rb:21:in `require' > > > > Has anyone seen this situation before? Suggestions on what to try > > next would be most appreciated. > > > > Duane Gran > > _______________________________________________ > > 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/20070316/9473a823/attachment.html From dmg2n at virginia.edu Fri Mar 16 10:10:05 2007 From: dmg2n at virginia.edu (Duane Gran) Date: Fri, 16 Mar 2007 10:10:05 -0400 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: References: <6FA7E31F-FE7E-4B1E-B53D-67D7D43B54CC@virginia.edu> <834B9A94-A9BF-463E-8C7C-749F7287AE8C@virginia.edu> Message-ID: <58E873F2-C6FA-4360-8287-C4B3E2951B50@virginia.edu> Sure thing. My command is: ./cruise add collex --url https://patacriticism.svn.sourceforge.net/ svnroot/patacriticism/collex/trunk/web No login is required so anyone curious could try the above command. Thank you so much for any advice you may have. Duane On Mar 16, 2007, at 9:40 AM, Jeremy Stell-Smith wrote: > Can you include the exact command you're using on the command line > for add the project? If you have a password on it, you can *** it > out. I just verified that I can successfully add a project for > https://svn.apache.org/repos/asf/xalan/test/trunk/ > > Jeremy > > On 3/16/07, Duane Gran wrote: > Jeremy, > > Thanks for writing. Yes, I should have clarified that the svn > command line client works just fine on this machine. > > Duane > > On Mar 16, 2007, at 9:28 AM, Jeremy Stell-Smith wrote: > >> if you do a regular svn checkout of the same, does it work? >> >> On 3/16/07, Duane Gran wrote: >> After running "cruise add" with an https url to project in SVN I get >> a stack trace indicating problems referencing openssl: >> >> /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ >> custom_require.rb:21:in `require__': no such file to load -- openssl >> (MissingSourceFile) >> from /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/ >> rubygems/custom_require.rb:21:in `require' >> >> Has anyone seen this situation before? Suggestions on what to try >> next would be most appreciated. >> >> Duane Gran >> _______________________________________________ >> 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/20070316/152ccefb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4210 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070316/152ccefb/attachment-0001.bin From averkhov at thoughtworks.com Fri Mar 16 12:55:16 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 16 Mar 2007 11:55:16 -0500 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: <58E873F2-C6FA-4360-8287-C4B3E2951B50@virginia.edu> Message-ID: > Sure thing. My command is: > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in `require__': no such file to load -- openssl > (MissingSourceFile) openssl is a Ruby standard library. If it's not available, it means that your Ruby installation was built without it. Confirm it by this command: ruby -e "puts require('openssl')" It'll blow up with the same message. There are two places in CC.rb that require opensssl. A Jabber plugin and something in Rails' ActionMailer (which is a component in chrge of emailing). The best fix is to reinstall Ruby with openssl included. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070316/3868f21c/attachment.html From jeffscadden at hotmail.com Fri Mar 16 17:39:26 2007 From: jeffscadden at hotmail.com (Jeff Scadden) Date: Fri, 16 Mar 2007 14:39:26 -0700 Subject: [Cruisecontrolrb-users] Run in the background Message-ID: Thank you, that worked.nohup ./cruise start &JeffTo: cruisecontrolrb-users at rubyforge.orgFrom: averkhov at thoughtworks.comDate: Thu, 15 Mar 2007 21:53:46 -0500Subject: Re: [Cruisecontrolrb-users] Run in the background The simplest way is: nohup ./cruise start & It looks like the -d (--daemon) option is broken in 1.0. Alex Jeff Scadden Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/15/2007 08:28 PM To cc Subject [Cruisecontrolrb-users] Run in the background How do I set cruisecontrol.rb to run in the background on linux. I am using xubuntu. I have tried: ./cruise start & ./cruise start -d both of these will work until I close the console window. As soon as the console is closed the next build displays "builder broken" Any ideas what I am doing wrong. Jeff ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email _____________________________________________________________________________________________________________________ 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/20070316/2ee379e7/attachment.html From jeem at hughesorama.com Sat Mar 17 17:23:04 2007 From: jeem at hughesorama.com (Jim Hughes) Date: Sat, 17 Mar 2007 16:23:04 -0500 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails Message-ID: If (like me) you use ccrb to test a Rails app and (like me) you define your own :cruise task, because, for example, you use rspec rather than Test::Unit and (like me) you have the RAILS_ENV ||= 'production' line in environment.rb (because, like me, you use crummy shared hosting) Your build will run in production mode, possibly screwing up your production database, like mine! (Happily, my crummy shared hosting service has non-crummy database backups, so no lasting harm was done.) This is hinted at in the README of the 1.0 release, but not in the docs which tell how to customize your build. Cruise team, this should be mentioned prominently in that section of the docs. I would like to submit a doc patch, but I'm not sure what work around I should advise. Aside from all that :), great project! Much easier to set up than it's CC siblings. I look forward to using it for a long time. Jim From averkhov at thoughtworks.com Sun Mar 18 01:08:56 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Sun, 18 Mar 2007 00:08:56 -0500 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: Message-ID: > and (like me) you have the RAILS_ENV ||= 'production' line in > environment.rb (because, like me, you use crummy shared hosting) > Your build will run in production mode, possibly screwing up your > production database, like mine! Ouch. > Cruise team, this should be mentioned prominently in that section of > the docs. I would like to submit a doc patch, but I'm not sure what > work around I should advise. Sure, we can document this. In fact I just did it. However, I want to be a tad more proactive. In version 1., RAILS_ENV is cleared before calling a custom Rake task or build command (this includes 'cruise' task). Would it be better if RAILS_ENV was set to 'test'? If your build needs something different, you'd just have to change it early on in your build script. Anyone has a strong opinion one way or another? Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070318/c6f11729/attachment.html From mi-ccrb at underpantsgnome.com Sun Mar 18 01:26:47 2007 From: mi-ccrb at underpantsgnome.com (Michael Moen) Date: Sat, 17 Mar 2007 22:26:47 -0700 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: References: Message-ID: <4A241B3E-A4C1-4577-A511-FEB7C1A3C377@underpantsgnome.com> On Mar 17, 2007, at 10:08 PM, Alexey Verkhovsky wrote: > In version 1., RAILS_ENV is cleared before calling a custom Rake > task or build command (this includes 'cruise' task). Would it be > better if > RAILS_ENV was set to 'test'? If your build needs something > different, you'd just have to change it early on in your build script. > > Anyone has a strong opinion one way or another? I wouldn't call it a "strong opinion", but maybe something like: Project.configure do |project| project.environment = [ { 'RAILS_ENV' => 'test' }, { 'SOME_OTHER' => 'foo' } ] end and it would set the environment up based on that? Then before running the build CC.rb could just do project.environemnt.each { |key,val| ENV[key] = val } if project.environemnt just a thought. Michael- From mi-ccrb at underpantsgnome.com Sun Mar 18 01:36:44 2007 From: mi-ccrb at underpantsgnome.com (Michael Moen) Date: Sat, 17 Mar 2007 22:36:44 -0700 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: <4A241B3E-A4C1-4577-A511-FEB7C1A3C377@underpantsgnome.com> References: <4A241B3E-A4C1-4577-A511-FEB7C1A3C377@underpantsgnome.com> Message-ID: <38455F7A-1487-48C3-9BC3-B4387AA05326@underpantsgnome.com> Ok, so let me just take off my a**hat for a second and revise that to be: Project.configure do |project| project.environment = { 'RAILS_ENV' => 'test', 'SOME_OTHER' => 'foo' } end On Mar 17, 2007, at 10:26 PM, Michael Moen wrote: > > On Mar 17, 2007, at 10:08 PM, Alexey Verkhovsky wrote: > >> In version 1., RAILS_ENV is cleared before calling a custom Rake >> task or build command (this includes 'cruise' task). Would it be >> better if >> RAILS_ENV was set to 'test'? If your build needs something >> different, you'd just have to change it early on in your build >> script. >> >> Anyone has a strong opinion one way or another? > > I wouldn't call it a "strong opinion", but maybe something like: > > Project.configure do |project| > project.environment = [ > { 'RAILS_ENV' => 'test' }, > { 'SOME_OTHER' => 'foo' } > ] > end > > and it would set the environment up based on that? > > Then before running the build CC.rb could just do > > project.environment.each { |key,val| ENV[key] = val } if > project.environemnt > > just a thought. > > Michael- > > From jeremystellsmith at gmail.com Sun Mar 18 03:07:25 2007 From: jeremystellsmith at gmail.com (Jeremy Stell-Smith) Date: Sun, 18 Mar 2007 01:07:25 -0600 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: <38455F7A-1487-48C3-9BC3-B4387AA05326@underpantsgnome.com> References: <4A241B3E-A4C1-4577-A511-FEB7C1A3C377@underpantsgnome.com> <38455F7A-1487-48C3-9BC3-B4387AA05326@underpantsgnome.com> Message-ID: I'd vote for alex's suggestion of defaulting RAILS_ENV to test, and it's always overrideable if someone wants to explicitly do that On 3/17/07, Michael Moen wrote: > > Ok, so let me just take off my a**hat for a second and revise that to > be: > > Project.configure do |project| > project.environment = { > 'RAILS_ENV' => 'test', > 'SOME_OTHER' => 'foo' > } > end > > On Mar 17, 2007, at 10:26 PM, Michael Moen wrote: > > > > > On Mar 17, 2007, at 10:08 PM, Alexey Verkhovsky wrote: > > > >> In version 1., RAILS_ENV is cleared before calling a custom Rake > >> task or build command (this includes 'cruise' task). Would it be > >> better if > >> RAILS_ENV was set to 'test'? If your build needs something > >> different, you'd just have to change it early on in your build > >> script. > >> > >> Anyone has a strong opinion one way or another? > > > > I wouldn't call it a "strong opinion", but maybe something like: > > > > Project.configure do |project| > > project.environment = [ > > { 'RAILS_ENV' => 'test' }, > > { 'SOME_OTHER' => 'foo' } > > ] > > end > > > > and it would set the environment up based on that? > > > > Then before running the build CC.rb could just do > > > > project.environment.each { |key,val| ENV[key] = val } if > > project.environemnt > > > > just a thought. > > > > Michael- > > > > > > _______________________________________________ > 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/20070318/e17668cc/attachment-0001.html From cch1 at hapgoods.com Sat Mar 17 18:58:20 2007 From: cch1 at hapgoods.com (Chris Hapgood) Date: Sat, 17 Mar 2007 18:58:20 -0400 Subject: [Cruisecontrolrb-users] Cruise for non-Ruby In-Reply-To: References: Message-ID: <004701c768e7$c2671ca0$6601a8c0@hapgoods.com> [My First Post] I know some people on the developer's mailing list had caught wind of this, but I wanted to share with everybody my success in getting CC.rb to work with a Linux compiler to build Windows installers (Nullsoft's NSIS). Getting a Linux development environment setup for the build was tough -hooking it into CC.rb was pretty easy. A description of how I got there is here: http://cho.hapgoods.com/wordpress/?p=138 On another note: I saw that version 1.0 had come out and I upgraded to it BUT I had to guess at the procedure. In the end, I grafted the ..../projects directory from 0.5 under 1.0 and adjusted the config file names. Then all worked great. Finally, congrats to the developers. This is a great tool. Chris Hapgood Phone: +1 434 989 8584 Skype: chris.hapgood Email: cch1 at hapgoods.com -----Original Message----- From: cruisecontrolrb-users-bounces at rubyforge.org [mailto:cruisecontrolrb-users-bounces at rubyforge.org] On Behalf Of Jim Hughes Sent: Saturday, March 17, 2007 17:23 To: cruisecontrolrb-users at rubyforge.org Subject: [Cruisecontrolrb-users] a WARNING about cruise task oruser-specified build task for Rails If (like me) you use ccrb to test a Rails app and (like me) you define your own :cruise task, because, for example, you use rspec rather than Test::Unit and (like me) you have the RAILS_ENV ||= 'production' line in environment.rb (because, like me, you use crummy shared hosting) Your build will run in production mode, possibly screwing up your production database, like mine! (Happily, my crummy shared hosting service has non-crummy database backups, so no lasting harm was done.) This is hinted at in the README of the 1.0 release, but not in the docs which tell how to customize your build. Cruise team, this should be mentioned prominently in that section of the docs. I would like to submit a doc patch, but I'm not sure what work around I should advise. Aside from all that :), great project! Much easier to set up than it's CC siblings. I look forward to using it for a long time. Jim _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users From shane.duan at gmail.com Mon Mar 19 22:31:53 2007 From: shane.duan at gmail.com (Shane Duan) Date: Mon, 19 Mar 2007 19:31:53 -0700 Subject: [Cruisecontrolrb-users] Marching forward with broken tests Message-ID: Hi, I thought this was unusual but very interesting when I posted this (http://agileworks.blogspot.com/2007/02/continuous-integration-improved.html) and I just got a reply from a friend who just read it saying that they are doing pretty much exactly the same thing. This makes me wonder how many companies need something like this, how many are spending time doing it, and how many will benefit if you guys can support it. Cheers -- Shane http://www.shaneduan.com From cch1 at hapgoods.com Mon Mar 19 23:21:11 2007 From: cch1 at hapgoods.com (Chris Hapgood) Date: Mon, 19 Mar 2007 23:21:11 -0400 Subject: [Cruisecontrolrb-users] CC.rb and CCTray Message-ID: <008b01c76a9e$cf203540$6601a8c0@hapgoods.com> I was using CCTray beautifully! with CC.rb 0.5.0. Since upgrading to 0.1.0, I get a lot of strange behavior. For starters, it seems as though a failure is indicated when the build first starts. Also, I can?t click on the project in the CCTray list anymore. It barfs with a ?System.InvalidOperationException Cannot start process because a file has not been provided.? Anybody have any ideas? The CCTray integration is very slick and I am really missing it. Chris Hapgood Phone: +1 434 989 8584 Skype: chris.hapgood Email: cch1 at hapgoods.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070319/182c6e20/attachment.html From ketanpadegaonkar at gmail.com Wed Mar 21 04:46:27 2007 From: ketanpadegaonkar at gmail.com (Ketan Padegaonkar) Date: Wed, 21 Mar 2007 14:16:27 +0530 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: References: <58E873F2-C6FA-4360-8287-C4B3E2951B50@virginia.edu> Message-ID: On 3/16/07, Alexey Verkhovsky wrote: > > > Sure thing. My command is: > > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:21:in `require__': no such file to load -- openssl > > (MissingSourceFile) > > openssl is a Ruby standard library. If it's not available, it means that > your Ruby installation was built without it. Confirm it by this command: > ruby -e "puts require('openssl')" > It'll blow up with the same message. > > There are two places in CC.rb that require opensssl. A Jabber plugin and > something in Rails' ActionMailer (which is a component in chrge of > emailing). > The best fix is to reinstall Ruby with openssl included. > > Alex Hehe... I'd to do exactly the same thing. I knocked off the plugins that used openssl. Later I had to install openssl-ruby on my computer. I'm using Ubuntu, and the default install of ruby does not come with openssl. Would it be possible to update the install instructions to support *some* common distributions ? -- Ketan Padegaonkar I blog... Therefore I am... http://ketan.padegaonkar.name From matt at wrighters.net Wed Mar 21 09:18:54 2007 From: matt at wrighters.net (Matthew Wright) Date: Wed, 21 Mar 2007 08:18:54 -0500 Subject: [Cruisecontrolrb-users] question on db:test:purge behavior Message-ID: <2C6AEB4A-9E15-4725-8FB1-97E72259F05F@wrighters.net> I saw cc.rb yesterday and gave it a try, what a nice project. Having setup 2 large cc (java) projects before, I have to say this is much easier to setup and has a great interface. Great job. In order to get my builds to work, I had to override the default cc behavior and remove the db:test:purge from the build. If I run the following in my project/work directory, the build succeeds: export RAILS_ENV=test rake db:test:purge && rake db:migrate && rake test If I run it via cc, I get this: /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/ lib/rake/rake_test_loader.rb" Mysql::Error: Table 'plan_days' already exists: CREATE TABLE plan_days (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `plan_id` int(11) DEFAULT NULL, `day` int (11) DEFAULT NULL) ENGINE=InnoDB etc., etc. This is a table created in the 9th migration, so if the migrations were running twice because schema_info wasn't being updated, I would expect more errors than this one. I thought maybe a foreign key was preventing a migration from dropping a table or something, but I added drops in all the down methods of my migrations where fks are created. Just wondering if anyone else has seen this. . Matt From seanhussey at gmail.com Wed Mar 21 12:11:19 2007 From: seanhussey at gmail.com (Sean Hussey) Date: Wed, 21 Mar 2007 12:11:19 -0400 Subject: [Cruisecontrolrb-users] Building non-Rails apps Message-ID: Hi everyone, I'm attempting to build a Symfony app and run the included tests: project.build_command = './symfony propel-build-all-load my_project; ./symfony test-all' The issue with this is that both commands return success even if there's a build error or a failing test. I figured I could just grab the results, grep for "Failed" and exit 1 on failure, 0 on success. This works, but doesn't print any output to the Build Log. If I print the captured output, it prints twice in the build log. Any advice on how to proceed? Am I barking up the wrong tree? Should I turn this into a proper rake task? Thanks, Sean From averkhov at thoughtworks.com Wed Mar 21 16:09:13 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 21 Mar 2007 15:09:13 -0500 Subject: [Cruisecontrolrb-users] Building non-Rails apps In-Reply-To: Message-ID: Hi, There is no reason why you should do it via Rake. project.build_command is invoked with " > $CC_BUILD_ARTIFACTS/build.log" appended to the end of it. A big part of your problem must be that you have two commands in there, so the output of one is not redirected to build.log. So, the way around this is probably to enclose it all in parentheses: '(./symfony propel-build-all-load my_project ./symfony test-all)' or if that doesn't work, put this sequence into a shell script and invoke the shell script As for parsing the build.log to decide the build outcome, I would just try to parse it from $CC_BUILD_ARTEFACTS/build.log. Of course, that means that you are parsing the file you are at the same time writing, so there may be some interesting hiccups there. Best regards, Alex "Sean Hussey" Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/21/2007 10:11 AM To Cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-users] Building non-Rails apps Hi everyone, I'm attempting to build a Symfony app and run the included tests: project.build_command = './symfony propel-build-all-load my_project; ./symfony test-all' The issue with this is that both commands return success even if there's a build error or a failing test. I figured I could just grab the results, grep for "Failed" and exit 1 on failure, 0 on success. This works, but doesn't print any output to the Build Log. If I print the captured output, it prints twice in the build log. Any advice on how to proceed? Am I barking up the wrong tree? Should I turn this into a proper rake task? Thanks, Sean _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070321/b3883d63/attachment.html From averkhov at thoughtworks.com Wed Mar 21 16:13:44 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Wed, 21 Mar 2007 15:13:44 -0500 Subject: [Cruisecontrolrb-users] question on db:test:purge behavior In-Reply-To: <2C6AEB4A-9E15-4725-8FB1-97E72259F05F@wrighters.net> Message-ID: If you want to get to the bottom of it, try to run the builder with --trace option, like this: cruise build YourProject --trace and force the build. You will get a stack trace out of Rake that will tell you what task is being executed. Otherwise, as the documentation says "if defaults do not work for you, instead of trying to bend your app into working with CC.rb defaults, just create a custom 'cruise' task in your build and be done with it". Alex Matthew Wright Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/21/2007 07:18 AM To cruisecontrolrb-users at rubyforge.org cc Subject [Cruisecontrolrb-users] question on db:test:purge behavior I saw cc.rb yesterday and gave it a try, what a nice project. Having setup 2 large cc (java) projects before, I have to say this is much easier to setup and has a great interface. Great job. In order to get my builds to work, I had to override the default cc behavior and remove the db:test:purge from the build. If I run the following in my project/work directory, the build succeeds: export RAILS_ENV=test rake db:test:purge && rake db:migrate && rake test If I run it via cc, I get this: /usr/bin/ruby1.8 -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.2/ lib/rake/rake_test_loader.rb" Mysql::Error: Table 'plan_days' already exists: CREATE TABLE plan_days (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `plan_id` int(11) DEFAULT NULL, `day` int (11) DEFAULT NULL) ENGINE=InnoDB etc., etc. This is a table created in the 9th migration, so if the migrations were running twice because schema_info wasn't being updated, I would expect more errors than this one. I thought maybe a foreign key was preventing a migration from dropping a table or something, but I added drops in all the down methods of my migrations where fks are created. Just wondering if anyone else has seen this. . Matt _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070321/d82b3a5e/attachment-0001.html From seanhussey at gmail.com Mon Mar 26 14:09:30 2007 From: seanhussey at gmail.com (Sean Hussey) Date: Mon, 26 Mar 2007 14:09:30 -0400 Subject: [Cruisecontrolrb-users] Building non-Rails apps In-Reply-To: References: Message-ID: Ok, I'm getting onto the right track now. I'm calling one shell script that calls each of the two commands in succession. Now get all of the output in the Build Log. But now I'm back to the tests failing, but returning status 0. CC thinks this is a success, and so the build "succeeds" even with failing tests. I know this is an issue with how Symfony runs tests, so I'm trying this (simplified) instead: #!/usr/bin/env ruby result =`./symfony test-all` if /Failed/ =~ result then exit(1) else exit(0) end Now the build fails, but there's no output. What can I return from this script to have it end up in the log? Or is there where I should try to parse the log file as it's being created? Thanks! Sean On 3/21/07, Alexey Verkhovsky wrote: > > Hi, > > There is no reason why you should do it via Rake. > > project.build_command is invoked with " > $CC_BUILD_ARTIFACTS/build.log" > appended to the end of it. > A big part of your problem must be that you have two commands in there, so > the output of one is not redirected to build.log. So, the way around this is > probably to enclose it all in parentheses: > > '(./symfony propel-build-all-load my_project ./symfony test-all)' > > or if that doesn't work, put this sequence into a shell script and invoke > the shell script > > As for parsing the build.log to decide the build outcome, I would just try > to parse it from $CC_BUILD_ARTEFACTS/build.log. Of course, that means that > you are parsing the file you are at the same time writing, so there may be > some interesting hiccups there. > > Best regards, > Alex > > > > > > > "Sean Hussey" > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > > 03/21/2007 10:11 AM > > To Cruisecontrolrb-users at rubyforge.org > > cc > > Subject [Cruisecontrolrb-users] Building non-Rails apps > > > > > > Hi everyone, > > I'm attempting to build a Symfony app and run the included tests: > > project.build_command = './symfony propel-build-all-load my_project; > ./symfony test-all' > > The issue with this is that both commands return success even if > there's a build error or a failing test. > > I figured I could just grab the results, grep for "Failed" and exit 1 > on failure, 0 on success. This works, but doesn't print any output to > the Build Log. If I print the captured output, it prints twice in the > build log. > > Any advice on how to proceed? Am I barking up the wrong tree? Should > I turn this into a proper rake task? > > Thanks, > > Sean > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit > http://www.messagelabs.com/email > ______________________________________________________________________ > > > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > From frederic.pernias at gmail.com Mon Mar 26 14:19:11 2007 From: frederic.pernias at gmail.com (Frederic Pernias) Date: Mon, 26 Mar 2007 20:19:11 +0200 Subject: [Cruisecontrolrb-users] svn error Message-ID: <4151dfbf0703261119h12d67e35yf7b3c2253ec5fb35@mail.gmail.com> Hi! I just began using RoR and CC.rb. I tried to configure CC. The project was properly checked out, but when I'm trying to force the build, the following message appears: svn: Synthax error on revision argument 'HEAD:' [error] undefined method `number' for nil:NilClass [error] undefined method `number' for nil:NilClass [error] wrong number of arguments (1 for 0) Build loop failed RuntimeError: Errors in plugins: MinimalConsoleLogger: undefined method `number' for nil:NilClass ProjectLogger: undefined method `number' for nil:NilClass ./script/../config/../app/models/project.rb:270:in `notify' ./script/../config/../app/models/project.rb:157:in `build_if_necessary' ./script/../config/../app/models/polling_scheduler.rb:13:in `run' ./script/builder:78 ./script/builder:77:in `catch' ./script/builder:77 cruise:13:in `load' cruise:13:in `builder' cruise:65:in `send' cruise:65 could you help me please ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070326/97c13b94/attachment.html From seanhussey at gmail.com Mon Mar 26 14:29:14 2007 From: seanhussey at gmail.com (Sean Hussey) Date: Mon, 26 Mar 2007 14:29:14 -0400 Subject: [Cruisecontrolrb-users] svn error In-Reply-To: <4151dfbf0703261119h12d67e35yf7b3c2253ec5fb35@mail.gmail.com> References: <4151dfbf0703261119h12d67e35yf7b3c2253ec5fb35@mail.gmail.com> Message-ID: I don't know what that specific error is. Does CC.rb run on a different machine? Some things that I had to do to get everything going were: * Setup the database for that machine * Make sure all gems were install * Make sure all plugins were properly checked out Any of those ring a bell? Sean On 3/26/07, Frederic Pernias wrote: > Hi! > I just began using RoR and CC.rb. I tried to configure CC. The project was > properly checked out, but when I'm trying to force the build, the following > message appears: > > svn: Synthax error on revision argument 'HEAD:' > [error] undefined method `number' for nil:NilClass > [error] undefined method `number' for nil:NilClass > [error] wrong number of arguments (1 for 0) > Build loop failed > RuntimeError: Errors in plugins: > MinimalConsoleLogger: undefined method `number' for nil:NilClass > ProjectLogger: undefined method `number' for nil:NilClass > ./script/../config/../app/models/project.rb:270:in > `notify' > ./script/../config/../app/models/project.rb:157:in > `build_if_necessary' > > ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > ./script/builder:78 > ./script/builder:77:in `catch' > ./script/builder:77 > cruise:13:in `load' > cruise:13:in `builder' > cruise:65:in `send' > cruise:65 > > could you help me please ? > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > From frederic.pernias at gmail.com Mon Mar 26 16:36:50 2007 From: frederic.pernias at gmail.com (Frederic Pernias) Date: Mon, 26 Mar 2007 22:36:50 +0200 Subject: [Cruisecontrolrb-users] svn error In-Reply-To: References: <4151dfbf0703261119h12d67e35yf7b3c2253ec5fb35@mail.gmail.com> Message-ID: <4151dfbf0703261336r52123a14h76061bebff63d067@mail.gmail.com> Sean, CC.rb runs on my dev machine. I successfully launch and browse my project using ruby script/server: C:\cruisecontrolrb-1.0.0\projects\testproject\work\ruby script\server. the testproject_builder.log contains those traces: [error] undefined method `number' for nil:NilClass [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected' [error] ./script/../config/../app/models/project.rb:245:in `send' [error] ./script/../config/../app/models/project.rb:245:in `notify' [error] ./script/../config/../app/models/project.rb:243:in `collect' [error] ./script/../config/../app/models/project.rb:243:in `notify' [error] ./script/../config/../app/models/project.rb:157:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:78 [error] ./script/builder:77:in `catch' [error] ./script/builder:77 [error] cruise:13:in `load' [error] cruise:13:in `builder' [error] cruise:65:in `send' [error] cruise:65 [error] wrong number of arguments (1 for 0) [error] ./script/../config/../app/models/project.rb:245:in `build_loop_failed' [error] ./script/../config/../app/models/project.rb:245:in `send' [error] ./script/../config/../app/models/project.rb:245:in `notify' [error] ./script/../config/../app/models/project.rb:243:in `collect' [error] ./script/../config/../app/models/project.rb:243:in `notify' [error] ./script/../config/../app/models/project.rb:161:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:78 [error] ./script/builder:77:in `catch' [error] ./script/builder:77 [error] cruise:13:in `load' [error] cruise:13:in `builder' [error] cruise:65:in `send' [error] cruise:65 [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected' => def new_revisions_detected(new_revisions) CruiseControl::Log.event("New revision #{new_revisions.last.number} detected") end new_revisions.last seems to be nil :( On 3/26/07, Sean Hussey wrote: > > I don't know what that specific error is. Does CC.rb run on a > different machine? Some things that I had to do to get everything > going were: > > * Setup the database for that machine > * Make sure all gems were install > * Make sure all plugins were properly checked out > > Any of those ring a bell? > > Sean > > On 3/26/07, Frederic Pernias wrote: > > Hi! > > I just began using RoR and CC.rb. I tried to configure CC. The project > was > > properly checked out, but when I'm trying to force the build, the > following > > message appears: > > > > svn: Synthax error on revision argument 'HEAD:' > > [error] undefined method `number' for nil:NilClass > > [error] undefined method `number' for nil:NilClass > > [error] wrong number of arguments (1 for 0) > > Build loop failed > > RuntimeError: Errors in plugins: > > MinimalConsoleLogger: undefined method `number' for nil:NilClass > > ProjectLogger: undefined method `number' for nil:NilClass > > ./script/../config/../app/models/project.rb:270:in > > `notify' > > ./script/../config/../app/models/project.rb:157:in > > `build_if_necessary' > > > > ./script/../config/../app/models/polling_scheduler.rb:13:in > > `run' > > ./script/builder:78 > > ./script/builder:77:in `catch' > > ./script/builder:77 > > cruise:13:in `load' > > cruise:13:in `builder' > > cruise:65:in `send' > > cruise:65 > > > > could you help me please ? > > _______________________________________________ > > 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/20070326/831cfb13/attachment.html From t.lucas at toolmantim.com Mon Mar 26 19:07:44 2007 From: t.lucas at toolmantim.com (Tim Lucas) Date: Tue, 27 Mar 2007 09:07:44 +1000 Subject: [Cruisecontrolrb-users] Building non-Rails apps In-Reply-To: References: Message-ID: On 27/03/2007, at 4:09 AM, Sean Hussey wrote: > #!/usr/bin/env ruby > > result =`./symfony test-all` > if /Failed/ =~ result then > exit(1) > else > exit(0) > end > > Now the build fails, but there's no output. What can I return from > this script to have it end up in the log? Or is there where I should > try to parse the log file as it's being created? try: #!/usr/bin/env ruby $stdout.write result = IO.popen("./symfony test-all 2>&1").read exit(1) if result.include?("Failed") -- tim From averkhov at thoughtworks.com Mon Mar 26 19:30:02 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Mon, 26 Mar 2007 18:30:02 -0500 Subject: [Cruisecontrolrb-users] svn error In-Reply-To: <4151dfbf0703261336r52123a14h76061bebff63d067@mail.gmail.com> Message-ID: Do you have a non-English locale? If you do, it's a known bug that will be fixed in the next release, before the end of this week. So, please just wait a couple of days. Or get the CC.rb trunk and see if it fixes the problem. If the next release or trunk doesn't fix your problem, we'll figure it out. Alex "Frederic Pernias" Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/26/2007 02:36 PM To "Sean Hussey" cc cruisecontrolrb-users at rubyforge.org Subject Re: [Cruisecontrolrb-users] svn error Sean, CC.rb runs on my dev machine. I successfully launch and browse my project using ruby script/server: C:\cruisecontrolrb-1.0.0\projects\testproject\work\ruby script\server. the testproject_builder.log contains those traces: [error] undefined method `number' for nil:NilClass [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected' [error] ./script/../config/../app/models/project.rb:245:in `send' [error] ./script/../config/../app/models/project.rb:245:in `notify' [error] ./script/../config/../app/models/project.rb:243:in `collect' [error] ./script/../config/../app/models/project.rb:243:in `notify' [error] ./script/../config/../app/models/project.rb:157:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:78 [error] ./script/builder:77:in `catch' [error] ./script/builder:77 [error] cruise:13:in `load' [error] cruise:13:in `builder' [error] cruise:65:in `send' [error] cruise:65 [error] wrong number of arguments (1 for 0) [error] ./script/../config/../app/models/project.rb:245:in `build_loop_failed' [error] ./script/../config/../app/models/project.rb:245:in `send' [error] ./script/../config/../app/models/project.rb:245:in `notify' [error] ./script/../config/../app/models/project.rb:243:in `collect' [error] ./script/../config/../app/models/project.rb:243:in `notify' [error] ./script/../config/../app/models/project.rb:161:in `build_if_necessary' [error] ./script/../config/../app/models/polling_scheduler.rb:13:in `run' [error] ./script/builder:78 [error] ./script/builder:77:in `catch' [error] ./script/builder:77 [error] cruise:13:in `load' [error] cruise:13:in `builder' [error] cruise:65:in `send' [error] cruise:65 [error] ./script/../config/../builder_plugins/installed/project_logger.rb:33:in `new_revisions_detected' => def new_revisions_detected(new_revisions) CruiseControl::Log.event("New revision #{new_revisions.last.number} detected") end new_revisions.last seems to be nil :( On 3/26/07, Sean Hussey wrote: I don't know what that specific error is. Does CC.rb run on a different machine? Some things that I had to do to get everything going were: * Setup the database for that machine * Make sure all gems were install * Make sure all plugins were properly checked out Any of those ring a bell? Sean On 3/26/07, Frederic Pernias < frederic.pernias at gmail.com> wrote: > Hi! > I just began using RoR and CC.rb. I tried to configure CC. The project was > properly checked out, but when I'm trying to force the build, the following > message appears: > > svn: Synthax error on revision argument 'HEAD:' > [error] undefined method `number' for nil:NilClass > [error] undefined method `number' for nil:NilClass > [error] wrong number of arguments (1 for 0) > Build loop failed > RuntimeError: Errors in plugins: > MinimalConsoleLogger: undefined method `number' for nil:NilClass > ProjectLogger: undefined method `number' for nil:NilClass > ./script/../config/../app/models/project.rb:270:in > `notify' > ./script/../config/../app/models/project.rb:157:in > `build_if_necessary' > > ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > ./script/builder:78 > ./script/builder:77:in `catch' > ./script/builder:77 > cruise:13:in `load' > cruise:13:in `builder' > cruise:65:in `send' > cruise:65 > > could you help me please ? > _______________________________________________ > Cruisecontrolrb-users mailing list > Cruisecontrolrb-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ 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/20070326/f7f9922c/attachment-0001.html From geniuslinda at gmail.com Mon Mar 26 22:40:17 2007 From: geniuslinda at gmail.com (Lin Zhang) Date: Tue, 27 Mar 2007 10:40:17 +0800 Subject: [Cruisecontrolrb-users] Note: build succeed even tests failed(due to bug of Ruby 1.8.6) Message-ID: When we tried to run CruiseControlrb with ruby 1.8.6, something strange happened. When we run build with Test::Unit tests in it, even some tests failed, CCrb still think the build is successful. This error only happens in ruby 1.8.6, no matter what OS you use. We did some research and found this is a bug of ruby 1.8.6, the issue is below: http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9300&group_id=426 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070327/9c93ffda/attachment.html From frederic.pernias at gmail.com Tue Mar 27 03:43:09 2007 From: frederic.pernias at gmail.com (Frederic Pernias) Date: Tue, 27 Mar 2007 09:43:09 +0200 Subject: [Cruisecontrolrb-users] svn error In-Reply-To: References: <4151dfbf0703261336r52123a14h76061bebff63d067@mail.gmail.com> Message-ID: <4151dfbf0703270043k26d16b50padcaffbb781f918c@mail.gmail.com> Yep, my local is french. I'll wait! Thank you! Fred On 3/27/07, Alexey Verkhovsky wrote: > > > Do you have a non-English locale? If you do, it's a known bug that will be > fixed in the next release, before the end of this week. So, please just wait > a couple of days. > Or get the CC.rb trunk and see if it fixes the problem. > > If the next release or trunk doesn't fix your problem, we'll figure it > out. > > Alex > > > > > *"Frederic Pernias" * > Sent by: cruisecontrolrb-users-bounces at rubyforge.org > > 03/26/2007 02:36 PM > To > "Sean Hussey" cc > cruisecontrolrb-users at rubyforge.org Subject > Re: [Cruisecontrolrb-users] svn error > > > > > Sean, > CC.rb runs on my dev machine. I successfully launch and browse my project > using ruby script/server: > C:\cruisecontrolrb-1.0.0\projects\testproject\work\ruby script\server. > > the testproject_builder.log contains those traces: > > [error] undefined method `number' for nil:NilClass > [error] > ./script/../config/../builder_plugins/installed/project_logger.rb:33:in > `new_revisions_detected' > [error] ./script/../config/../app/models/project.rb:245:in `send' > [error] ./script/../config/../app/models/project.rb:245:in `notify' > [error] ./script/../config/../app/models/project.rb:243:in `collect' > [error] ./script/../config/../app/models/project.rb:243:in `notify' > [error] ./script/../config/../app/models/project.rb:157:in > `build_if_necessary' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > [error] ./script/builder:78 > [error] ./script/builder:77:in `catch' > [error] ./script/builder:77 > [error] cruise:13:in `load' > [error] cruise:13:in `builder' > [error] cruise:65:in `send' > [error] cruise:65 > [error] wrong number of arguments (1 for 0) > [error] ./script/../config/../app/models/project.rb:245:in > `build_loop_failed' > [error] ./script/../config/../app/models/project.rb:245:in `send' > [error] ./script/../config/../app/models/project.rb:245:in `notify' > [error] ./script/../config/../app/models/project.rb:243:in `collect' > [error] ./script/../config/../app/models/project.rb:243:in `notify' > [error] ./script/../config/../app/models/project.rb:161:in > `build_if_necessary' > [error] ./script/../config/../app/models/polling_scheduler.rb:13:in > `run' > [error] ./script/builder:78 > [error] ./script/builder:77:in `catch' > [error] ./script/builder:77 > [error] cruise:13:in `load' > [error] cruise:13:in `builder' > [error] cruise:65:in `send' > [error] cruise:65 > > > [error] > ./script/../config/../builder_plugins/installed/project_logger.rb:33:in > `new_revisions_detected' > => > def new_revisions_detected(new_revisions) > CruiseControl::Log.event("New revision #{new_revisions.last.number} > detected") > end > > new_revisions.last seems to be nil :( > > > > On 3/26/07, *Sean Hussey* <*seanhussey at gmail.com* > > wrote: > I don't know what that specific error is. Does CC.rb run on a > different machine? Some things that I had to do to get everything > going were: > > * Setup the database for that machine > * Make sure all gems were install > * Make sure all plugins were properly checked out > > Any of those ring a bell? > > Sean > > On 3/26/07, Frederic Pernias < *frederic.pernias at gmail.com*> > wrote: > > Hi! > > I just began using RoR and CC.rb. I tried to configure CC. The project > was > > properly checked out, but when I'm trying to force the build, the > following > > message appears: > > > > svn: Synthax error on revision argument 'HEAD:' > > [error] undefined method `number' for nil:NilClass > > [error] undefined method `number' for nil:NilClass > > [error] wrong number of arguments (1 for 0) > > Build loop failed > > RuntimeError: Errors in plugins: > > MinimalConsoleLogger: undefined method `number' for nil:NilClass > > ProjectLogger: undefined method `number' for nil:NilClass > > ./script/../config/../app/models/project.rb:270:in > > `notify' > > ./script/../config/../app/models/project.rb:157:in > > `build_if_necessary' > > > > ./script/../config/../app/models/polling_scheduler.rb:13:in > > `run' > > ./script/builder:78 > > ./script/builder:77:in `catch' > > ./script/builder:77 > > cruise:13:in `load' > > cruise:13:in `builder' > > cruise:65:in `send' > > cruise:65 > > > > could you help me please ? > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > *Cruisecontrolrb-users at rubyforge.org* > > *http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users* > > > > > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > _______________________________________________ > 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/20070327/0cd24c88/attachment.html From mark at grandkru.com Tue Mar 27 17:07:45 2007 From: mark at grandkru.com (Mark Nyon) Date: Tue, 27 Mar 2007 17:07:45 -0400 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails Message-ID: First, I'd like to thank Thoughtworks and the CC.rb team for putting this tool together. I'm writing because I'm having a problem getting CC.rb to run on a non local box. I have a machine I'd like to be the build/CI machine, and I've installed CC on it and my dev box. I've set the environment to test, added the project with "cruise add", started the project with "cruise start". CC.rb works fine on my dev box, but for some reason, even though I've set RAILS_ENV equal to test, whenever I start the dashboard with "cruise start", the build fails because RAILS_ENV is set to "development". I've tried using the syntax earlier in this thread, but it resulted in the error below. Is there another way to set RAILS_ENV? Thanks. -- Mark [root at evans cruisecontrolrb-1.0.0]# more projects/widget/work/ cruise_config.rb Project.configure do |project| project.email_notifier.emails = ["mark at grandkru.com"] project.environment={'RAILS_ENV'=> 'test'} end [root at evans cruisecontrolrb-1.0.0]# ./cruise start => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3333 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3333 ** Starting Rails with production environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel available at 0.0.0.0:3333 ** Use CTRL-C to stop. Processing ProjectsController#index (for 10.0.0.132 at 2007-03-27 16:41:13) [GET] Parameters: {"action"=>"index", "controller"=>"projects"} Rendering layoutfalsecontent_typetext/htmlactionindex within layouts/ default Rendering projects/index Completed in 0.14984 (6 reqs/sec) | Rendering: 0.07669 (51%) | 200 OK [http://evans.lan/] Processing ProjectsController#index (for 10.0.0.132 at 2007-03-27 16:41:18) [GET] Parameters: {"format"=>"js", "action"=>"index", "controller"=>"projects"} Rendering projects/refresh_projects Completed in 0.02378 (42 reqs/sec) | Rendering: 0.02146 (90%) | 200 OK [http://evans.lan/projects.js] [fatal] [2007-03-27 16:41:19] Failed to load the new project configuration. The builder will stop. Failed to load the new project configuration. The builder will stop. [fatal] Could not load project configuration: undefined method `environment=' for # in ./script/../config/../ script/../config/../app/models/project.rb:95:in `method_missing' Builder for project 'widget' exited From averkhov at thoughtworks.com Tue Mar 27 22:00:14 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Tue, 27 Mar 2007 21:00:14 -0500 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: Message-ID: Yeah, as of right now builders ignore RAILS_ENV set by their parent process. The project.environment={'RAILS_ENV'=> 'test'} syntax was proposed, but not implemented. I presume you have defined either 'cruise' or custom task for your build. To define RAILS_ENV, you need to put the ENV['RAILS_ENV'] = 'test' statement somewhere in your build. I'd try something like this (untested): task 'cruise' => ['cruise_init', 'db:test:purge', 'db:migrate', 'test'] task 'cruise_init' do ENV['RAILS_ENV'] = 'test' end To other CC.rb developers: Hmm... let's admit, this is a nasty gotcha, with a complicated workaround. I'm starting to think that we should eliminate any dependency on RAILS_ENV from CC.rb itself, and pass it as-is from the shell all the way to the build. If somebody needs different environments for different builds, they would still have to do something like the above, though. Thoughts? Alex Mark Nyon Sent by: cruisecontrolrb-users-bounces at rubyforge.org 03/27/2007 03:07 PM To cc Subject Re: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails First, I'd like to thank Thoughtworks and the CC.rb team for putting this tool together. I'm writing because I'm having a problem getting CC.rb to run on a non local box. I have a machine I'd like to be the build/CI machine, and I've installed CC on it and my dev box. I've set the environment to test, added the project with "cruise add", started the project with "cruise start". CC.rb works fine on my dev box, but for some reason, even though I've set RAILS_ENV equal to test, whenever I start the dashboard with "cruise start", the build fails because RAILS_ENV is set to "development". I've tried using the syntax earlier in this thread, but it resulted in the error below. Is there another way to set RAILS_ENV? Thanks. -- Mark [root at evans cruisecontrolrb-1.0.0]# more projects/widget/work/ cruise_config.rb Project.configure do |project| project.email_notifier.emails = ["mark at grandkru.com"] project.environment={'RAILS_ENV'=> 'test'} end [root at evans cruisecontrolrb-1.0.0]# ./cruise start => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3333 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3333 ** Starting Rails with production environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel available at 0.0.0.0:3333 ** Use CTRL-C to stop. Processing ProjectsController#index (for 10.0.0.132 at 2007-03-27 16:41:13) [GET] Parameters: {"action"=>"index", "controller"=>"projects"} Rendering layoutfalsecontent_typetext/htmlactionindex within layouts/ default Rendering projects/index Completed in 0.14984 (6 reqs/sec) | Rendering: 0.07669 (51%) | 200 OK [http://evans.lan/] Processing ProjectsController#index (for 10.0.0.132 at 2007-03-27 16:41:18) [GET] Parameters: {"format"=>"js", "action"=>"index", "controller"=>"projects"} Rendering projects/refresh_projects Completed in 0.02378 (42 reqs/sec) | Rendering: 0.02146 (90%) | 200 OK [http://evans.lan/projects.js] [fatal] [2007-03-27 16:41:19] Failed to load the new project configuration. The builder will stop. Failed to load the new project configuration. The builder will stop. [fatal] Could not load project configuration: undefined method `environment=' for # in ./script/../config/../ script/../config/../app/models/project.rb:95:in `method_missing' Builder for project 'widget' exited _______________________________________________ Cruisecontrolrb-users mailing list Cruisecontrolrb-users at rubyforge.org http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070327/80ffd0f5/attachment-0001.html From t.lucas at toolmantim.com Wed Mar 28 03:06:07 2007 From: t.lucas at toolmantim.com (Tim Lucas) Date: Wed, 28 Mar 2007 17:06:07 +1000 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: References: Message-ID: <0DF66BC5-A43F-4A57-ABD3-68E2A9C7A947@toolmantim.com> On 28/03/2007, at 12:00 PM, Alexey Verkhovsky wrote: > I'm starting to think that we should eliminate any dependency on > RAILS_ENV from CC.rb itself, and pass it as-is from the shell all > the way to the build. If somebody needs different environments for > different builds, they would still have to do something like the > above, though. I definitely agree that CC.rb's env shouldn't be affecting the builders' env. I've just been defining the RAILS_ENV directly in the build command as below, and it's working a treat. I didn't see a need to use the rake integration. Project.configure do |project| project.build_command = 'rake db:migrate RAILS_ENV=test && rake RAILS_ENV=test' end -- tim -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070328/366ff446/attachment.html From mark at grandkru.com Wed Mar 28 10:09:26 2007 From: mark at grandkru.com (Mark Nyon) Date: Wed, 28 Mar 2007 10:09:26 -0400 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: <0DF66BC5-A43F-4A57-ABD3-68E2A9C7A947@toolmantim.com> References: <0DF66BC5-A43F-4A57-ABD3-68E2A9C7A947@toolmantim.com> Message-ID: Setting that build command in the projects/widget/work/ cruise_config.rb worked! Thanks much, Tim. -- Mark On Mar 28, 2007, at 3:06 AM, Tim Lucas wrote: > On 28/03/2007, at 12:00 PM, Alexey Verkhovsky wrote: > >> I'm starting to think that we should eliminate any dependency on >> RAILS_ENV from CC.rb itself, and pass it as-is from the shell all >> the way to the build. If somebody needs different environments for >> different builds, they would still have to do something like the >> above, though. > > I definitely agree that CC.rb's env shouldn't be affecting the > builders' env. > > I've just been defining the RAILS_ENV directly in the build command > as below, and it's working a treat. I didn't see a need to use the > rake integration. > > Project.configure do |project| > project.build_command = 'rake db:migrate RAILS_ENV=test && rake > RAILS_ENV=test' > end > > -- tim > > _______________________________________________ > 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/20070328/126f42b8/attachment.html From dmg2n at virginia.edu Wed Mar 28 10:15:20 2007 From: dmg2n at virginia.edu (Duane Gran) Date: Wed, 28 Mar 2007 10:15:20 -0400 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: References: Message-ID: <448863E5-FF8A-4406-B4B0-5D2DF008C5E4@virginia.edu> Alex, Thanks for the advice. It took a while for me to have a moment to return to this, but today I did a recompile of ruby 1.8.4 and from everything I can tell openssl is included just fine. The relevant output from the make command shows "compiling openssl" with no error report. Maybe I'm overlooking something obvious. I looked for a list of configuration flags for configure script when building ruby to declare the location of the openssl library but didn't see it. I know this is getting out of the range of CC support, but does anyone have any tips on what to do next? Duane On Mar 16, 2007, at 12:55 PM, Alexey Verkhovsky wrote: > > > Sure thing. My command is: > > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:21:in `require__': no such file to load -- openssl > > (MissingSourceFile) > > openssl is a Ruby standard library. If it's not available, it means > that your Ruby installation was built without it. Confirm it by > this command: > ruby -e "puts require('openssl')" > It'll blow up with the same message. > > There are two places in CC.rb that require opensssl. A Jabber > plugin and something in Rails' ActionMailer (which is a component > in chrge of emailing). > The best fix is to reinstall Ruby with openssl included. > > Alex > _______________________________________________ > 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/20070328/c190d97d/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4210 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070328/c190d97d/attachment.bin From nick at ekenosen.net Wed Mar 28 12:20:37 2007 From: nick at ekenosen.net (nicholas a. evans) Date: Wed, 28 Mar 2007 12:20:37 -0400 Subject: [Cruisecontrolrb-users] a WARNING about cruise task or user-specified build task for Rails In-Reply-To: <0DF66BC5-A43F-4A57-ABD3-68E2A9C7A947@toolmantim.com> References: <0DF66BC5-A43F-4A57-ABD3-68E2A9C7A947@toolmantim.com> Message-ID: <276ff9870703280920q18d05d14jb42d0fe7f9e60dcd@mail.gmail.com> On 3/28/07, Tim Lucas wrote: > I definitely agree that CC.rb's env shouldn't be affecting the builders' > env. Me too. It would seem reasonable for the builders' env to default to test. My team already had an environments.rake file patterned after http://errtheblog.com/post/33, so we used the approach that Alexey mentioned, and didn't really think twice about it. task :cruise => [:test_env, "db:migrate", :environment, "spec:html_report", "spec:coverage", "test:coverage"] -- Nick From seanhussey at gmail.com Thu Mar 29 12:18:18 2007 From: seanhussey at gmail.com (Sean Hussey) Date: Thu, 29 Mar 2007 12:18:18 -0400 Subject: [Cruisecontrolrb-users] Building non-Rails apps In-Reply-To: References: Message-ID: This did it. Thank you! On 3/26/07, Tim Lucas wrote: > On 27/03/2007, at 4:09 AM, Sean Hussey wrote: > > > #!/usr/bin/env ruby > > > > result =`./symfony test-all` > > if /Failed/ =~ result then > > exit(1) > > else > > exit(0) > > end > > > > Now the build fails, but there's no output. What can I return from > > this script to have it end up in the log? Or is there where I should > > try to parse the log file as it's being created? > > try: > > #!/usr/bin/env ruby > $stdout.write result = IO.popen("./symfony test-all 2>&1").read > exit(1) if result.include?("Failed") > > -- tim > From dmg2n at virginia.edu Fri Mar 30 09:45:04 2007 From: dmg2n at virginia.edu (Duane Gran) Date: Fri, 30 Mar 2007 09:45:04 -0400 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: References: Message-ID: <54AB6D7B-E30C-4314-95AA-9E7013903E9A@virginia.edu> Alex, I've been hitting a wall on this and have found even precompiled binaries for Ruby from sunfreeware.com don't have openssl support. I've built plenty of Unix programs from source, but this baffles me so I'm considering another option. Do you think it would work to hack CC.rb to not make use of the Jabber plugin and the Rails ActionMailer to not make use of SSL? If there is another option available I'm open to it. Duane On Mar 16, 2007, at 12:55 PM, Alexey Verkhovsky wrote: > > > Sure thing. My command is: > > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:21:in `require__': no such file to load -- openssl > > (MissingSourceFile) > > openssl is a Ruby standard library. If it's not available, it means > that your Ruby installation was built without it. Confirm it by > this command: > ruby -e "puts require('openssl')" > It'll blow up with the same message. > > There are two places in CC.rb that require opensssl. A Jabber > plugin and something in Rails' ActionMailer (which is a component > in chrge of emailing). > The best fix is to reinstall Ruby with openssl included. > > Alex > _______________________________________________ > 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/20070330/4947d869/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4210 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070330/4947d869/attachment-0001.bin From averkhov at thoughtworks.com Fri Mar 30 10:30:50 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 30 Mar 2007 09:30:50 -0500 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: <54AB6D7B-E30C-4314-95AA-9E7013903E9A@virginia.edu> Message-ID: Jabber plugin is not a problem, as long as it stays in builder_plugins/available/ (plugins from that directory are not loaded at runtime). As for ActionMailer, you can probably teach CC.rb to live without it. You won't have email notification though. I would try to add an empty openssl.rb file to lib/, and/or make the following change to environment.rb: - config.frameworks -= [ :active_record, :action_web_service ] + config.frameworks -= [ :active_record, :action_web_service, :action_mailer ] Alex Duane Gran 03/30/2007 07:45 AM To Alexey Verkhovsky cc cruisecontrolrb-users at rubyforge.org Subject Re: [Cruisecontrolrb-users] cc Solaris issue with openssl Alex, I've been hitting a wall on this and have found even precompiled binaries for Ruby from sunfreeware.com don't have openssl support. I've built plenty of Unix programs from source, but this baffles me so I'm considering another option. Do you think it would work to hack CC.rb to not make use of the Jabber plugin and the Rails ActionMailer to not make use of SSL? If there is another option available I'm open to it. Duane On Mar 16, 2007, at 12:55 PM, Alexey Verkhovsky wrote: > Sure thing. My command is: > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in `require__': no such file to load -- openssl > (MissingSourceFile) openssl is a Ruby standard library. If it's not available, it means that your Ruby installation was built without it. Confirm it by this command: ruby -e "puts require('openssl')" It'll blow up with the same message. There are two places in CC.rb that require opensssl. A Jabber plugin and something in Rails' ActionMailer (which is a component in chrge of emailing). The best fix is to reinstall Ruby with openssl included. Alex _______________________________________________ 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/20070330/341f3a98/attachment.html From dmg2n at virginia.edu Fri Mar 30 14:55:07 2007 From: dmg2n at virginia.edu (Duane Gran) Date: Fri, 30 Mar 2007 14:55:07 -0400 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: References: Message-ID: <6BBA1E43-C2E0-4022-8A1A-13CA0EFC0CF5@virginia.edu> Just when I think I've lost all hope, I found a better source for Solaris binaries. I'll share this in case it is helpful to anyone else on the list: http://www.blastwave.org I appreciate all the tips, Alex. Now I have a working version of Ruby so I believe all is well. Duane On Mar 30, 2007, at 10:30 AM, Alexey Verkhovsky wrote: > > Jabber plugin is not a problem, as long as it stays in > builder_plugins/available/ (plugins from that directory are not > loaded at runtime). > > As for ActionMailer, you can probably teach CC.rb to live without > it. You won't have email notification though. I would try to add an > empty openssl.rb file to lib/, and/or make the following change to > environment.rb: > > - config.frameworks -= [ :active_record, :action_web_service ] > + config.frameworks -= > [ :active_record, :action_web_service, :action_mailer ] > > Alex > > > > > Duane Gran > 03/30/2007 07:45 AM > > To > Alexey Verkhovsky > cc > cruisecontrolrb-users at rubyforge.org > Subject > Re: [Cruisecontrolrb-users] cc Solaris issue with openssl > > > > > > Alex, > > I've been hitting a wall on this and have found even precompiled > binaries for Ruby from sunfreeware.com don't have openssl support. > I've built plenty of Unix programs from source, but this baffles me > so I'm considering another option. > > Do you think it would work to hack CC.rb to not make use of the > Jabber plugin and the Rails ActionMailer to not make use of SSL? > If there is another option available I'm open to it. > > Duane > > On Mar 16, 2007, at 12:55 PM, Alexey Verkhovsky wrote: > > > > Sure thing. My command is: > > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > > custom_require.rb:21:in `require__': no such file to load -- openssl > > (MissingSourceFile) > > openssl is a Ruby standard library. If it's not available, it means > that your Ruby installation was built without it. Confirm it by > this command: > ruby -e "puts require('openssl')" > It'll blow up with the same message. > > There are two places in CC.rb that require opensssl. A Jabber > plugin and something in Rails' ActionMailer (which is a component > in chrge of emailing). > The best fix is to reinstall Ruby with openssl included. > > Alex > _______________________________________________ > 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/20070330/a6fc83bb/attachment.html -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4210 bytes Desc: not available Url : http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20070330/a6fc83bb/attachment.bin From averkhov at thoughtworks.com Fri Mar 30 15:32:09 2007 From: averkhov at thoughtworks.com (Alexey Verkhovsky) Date: Fri, 30 Mar 2007 14:32:09 -0500 Subject: [Cruisecontrolrb-users] cc Solaris issue with openssl In-Reply-To: <6BBA1E43-C2E0-4022-8A1A-13CA0EFC0CF5@virginia.edu> Message-ID: > Now I have a working version of Ruby Now, that's much better. :) Alex Duane Gran 03/30/2007 12:55 PM To Alexey Verkhovsky cc cruisecontrolrb-users at rubyforge.org Subject Re: [Cruisecontrolrb-users] cc Solaris issue with openssl Just when I think I've lost all hope, I found a better source for Solaris binaries. I'll share this in case it is helpful to anyone else on the list: http://www.blastwave.org I appreciate all the tips, Alex. Now I have a working version of Ruby so I believe all is well. Duane On Mar 30, 2007, at 10:30 AM, Alexey Verkhovsky wrote: Jabber plugin is not a problem, as long as it stays in builder_plugins/available/ (plugins from that directory are not loaded at runtime). As for ActionMailer, you can probably teach CC.rb to live without it. You won't have email notification though. I would try to add an empty openssl.rb file to lib/, and/or make the following change to environment.rb: - config.frameworks -= [ :active_record, :action_web_service ] + config.frameworks -= [ :active_record, :action_web_service, :action_mailer ] Alex Duane Gran 03/30/2007 07:45 AM To Alexey Verkhovsky cc cruisecontrolrb-users at rubyforge.org Subject Re: [Cruisecontrolrb-users] cc Solaris issue with openssl Alex, I've been hitting a wall on this and have found even precompiled binaries for Ruby from sunfreeware.com don't have openssl support. I've built plenty of Unix programs from source, but this baffles me so I'm considering another option. Do you think it would work to hack CC.rb to not make use of the Jabber plugin and the Rails ActionMailer to not make use of SSL? If there is another option available I'm open to it. Duane On Mar 16, 2007, at 12:55 PM, Alexey Verkhovsky wrote: > Sure thing. My command is: > /usr/local/lib/ruby/gems/lib/ruby/site_ruby/1.8/rubygems/ > custom_require.rb:21:in `require__': no such file to load -- openssl > (MissingSourceFile) openssl is a Ruby standard library. If it's not available, it means that your Ruby installation was built without it. Confirm it by this command: ruby -e "puts require('openssl')" It'll blow up with the same message. There are two places in CC.rb that require opensssl. A Jabber plugin and something in Rails' ActionMailer (which is a component in chrge of emailing). The best fix is to reinstall Ruby with openssl included. Alex _______________________________________________ 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/20070330/64f442cc/attachment-0001.html From cswilliams at gmail.com Sat Mar 31 08:02:25 2007 From: cswilliams at gmail.com (Chris Williams) Date: Sat, 31 Mar 2007 05:02:25 -0700 Subject: [Cruisecontrolrb-users] build failing because of foreign keys Message-ID: <64e9f5f10703310502j542d97cdr138af504865df126@mail.gmail.com> Hi, I'm trying to build my rails project but it keeps failing. All the tests pass from the work folder though when I run them from the command line. All the error messages in the build log center around foreign keys. Errors such as this: Message: ActiveRecord::StatementInvalid: Mysql::Error: Cannot delete or update a parent row: a foreign key constraint fails >From reading the manual, I imagine I need a custom 'cruise' task in order to get this to work, but I'm not sure what to put in it. Any help would be greatly appreciated. thanks, Chris