|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
DamageControl statusHi all,
I'm looking into using DamageControl where I work (RemedyMD, a medical software company). I grabbed it and installed RoR and all, but it fails to start with an error (which I'll paste below). The CI Matrix on the DC website makes it look like DC is the best tool for what we're looking for, but I can't seem to find any notice of activity in the project. The mailing lists archives had their last posts in April. So... is DamageControl still alive? I have damagecontrol-0.5.0.1404 installed through rubygems, but I'm getting the error noted below. Should I be using a different version? If so, which one, and how do I get it installed? rbm@patela:~/tmp$ damagecontrol /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing': uninitialized constant Poller (NameError) from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:16 from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:15:in `call' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:42:in `call' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in `synchronize' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in `call' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:117:in `instance' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:in `get' from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:in `method_missing' from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:42:in `run' from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol:7 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load' from /usr/bin/damagecontrol:18 Thanks, -Roberto -- Command Not Understood... Now erasing Hard Drive... |
|
|
Re: DamageControl statusHello Roberto,
I'm running DamageControl@1476 for the past few months. It's not latest version, but I like it. I wrote down the memo about how to run DamageControl@1476. This memo was written with my faint memory, so some part may be wrong, sorry. I'd like to share this memo with damagecontrol users and I'm happy if you correct/modify my wrong descriptions and bad English :-) Regards, Nobuyoshi 2006/1/6, Roberto Mello <rmello@...>: > Hi all, > > I'm looking into using DamageControl where I work (RemedyMD, a medical > software company). I grabbed it and installed RoR and all, but it fails to > start with an error (which I'll paste below). > > The CI Matrix on the DC website makes it look like DC is the best tool for > what we're looking for, but I can't seem to find any notice of activity in > the project. The mailing lists archives had their last posts in April. > > So... is DamageControl still alive? > > I have damagecontrol-0.5.0.1404 installed through rubygems, but I'm > getting the error noted below. Should I be using a different version? If > so, which one, and how do I get it installed? > > rbm@patela:~/tmp$ damagecontrol /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in `const_missing': uninitialized constant Poller (NameError) > from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:16 > from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:15:in `call' > from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:42:in `call' > from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in `synchronize' > from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in `call' > from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:117:in `instance' > from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:in `get' > from /usr/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:in `method_missing' > from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:42:in `run' > from /usr/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol:7 > from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in `load' > from /usr/bin/damagecontrol:18 > > > Thanks, > > -Roberto > > -- > Command Not Understood... Now erasing Hard Drive... > > ------------------------------------------------------------ HOW TO RUN DAMAGECONTROL@1476 $Id: HowToRunDamageControl.txt,v 1.1 2006/01/06 07:44:12 nmiyo Exp $ ------------------------------------------------------------ [WHAT'S FOR] This article describes how to run DamageControl revision 1476 on Linux environment(_NOT_ latest version). I feel it's neither better nor easier way to run DamageControl, so if you know better way or how to run DamageControl latest revision, please correct or modify it. [WHY REVISION 1476?] This version's DC is working well on my environment for the past few months :-). [INSTALL RUBY] You must install Ruby 1.8.2. If you try to run on Ruby 1.8.3 or newer version, you'll encounter logger.rb related error(activesupport@..., which is required by rails@... is expecting logger.rb@..., which is distributed with Ruby-1.8.2). [INSTALL RUBYGEM] You should install Ruby Gems if you've not installed it yet. See: <URL:http://docs.rubygems.org/read/chapter/3> [INSTALL GEMS] Install below gems with correct version. If you install wrong version, you may be annoyed some errors(I know finally RoR@... was released, but DamageControl@1476 could not work on it). GEM version -------------------------------- actionmailer 0.9.1 actionpack 1.8.1 actionwebservice 0.7.1 activerecord 1.10.1 activesupport 1.0.4 fcgi 0.8.6.1 jabber4r 0.7.0 log4r 1.0.5 needle 1.2.0 rails 0.12.1 rake 0.6.2 rgl 0.2.3 ruby-growl 1.0.0 ruby-json 1.1.1 rubygems-update 0.8.11 sources 0.0.1 stream 0.5 [INSTALL RSCM/DAMAGECONTROL] Fetch RSCM/DamageControl via Subversion and install it as GEM. I think you can run DamageControl without installing them as GEM, but it's a easy way, I think. 1. Fetch them | % svn co svn://beaver.codehaus.org/damagecontrol/scm/trunk/rscm@1476 | % svn co svn://beaver.codehaus.org/damagecontrol/scm/trunk/damagecontrol@1476 | % ls | damagecontrol@1476/ rscm@1476/ 2. Build GEM packages I know it's bad manner to use PKG_BUILD as identifier, but... | % (cd rscm@1476; PKG_BUILD=1476 rake gem) | (cd rscm@1476; PKG_BUILD=1476 rake gem) | (in /home/n-miyo/tmp/DC/rscm@1476) | mkdir -p pkg | Successfully built RubyGem | Name: rscm | Version: 0.4.0.1476 | File: rscm-0.4.0.1476.gem | mv rscm-0.4.0.1476.gem pkg/rscm-0.4.0.1476.gem | % (cd damagecontrol@1476; PKG_BUILD=1476 rake gem) | (cd damagecontrol@1476; PKG_BUILD=1476 rake) | (in /home/n-miyo/tmp/DC/damagecontrol@1476) | mkdir -p pkg | Successfully built RubyGem | Name: damagecontrol | Version: 0.5.1.1476 | File: damagecontrol-0.5.1.1476.gem | mv damagecontrol-0.5.1.1476.gem pkg/damagecontrol-0.5.1.1476.gem 3. Apply patch(optional). If you'd like to use Sendmail publisher, you maybe need to apply patch, which is attached below. But % (cd damagecontrol@1476; patch -p0 < THIS_ARTICLE) (snip) 4. Install produced GEMs | % su | # gem install rscm@1476/pkg/rscm-0.4.0.1476.gem | (snip) | # gem install damagecontrol@1476/pkg/damagecontrol-0.5.1.1476.gem | (snip) [RUN] After installing DamageControl and RSCM as GEMs, you can run DamageConrol, such as, 1) Set 'RAILS_ENV' environment variable as 'production'. 2) Set 'DAMAGECONTROL_HOME' environment variable as you like. The value is used as home directory for DamageContol and the DC'll create 'project' directory in this directory, where the project related files are stored. 3) Run 'damagecontrol-webrick' 4) Run 'damagecontrol' itself. Below is a sample script for doing them. 'damagecontrol-webrick' and 'damagecontrol' have be already installed to /usr/local/bin(where is default directory that 'gem install' command uses). You can run these scripts as some DamageControl specific user id instead of 'root'. ---- begin ---- begin ---- begin #!/bin/sh # export RAILS_ENV production # export DAMAGECONTROL_HOME /home/DamageControl # /usr/local/bin/damagecontrol-webrick & # /usr/local/bin/damagecontrol & ---- end ---- end ---- end [CONNECT] If your DamageControl is running well, you can connect to the DamageControl-webrick web server via a web browser. The DamageControl is running on port 3000, so can connect to, http://<THE_SERVER_WHERE_DC_IS_RUNNNIG>:3000/ and you can see DamageControl project page. [PATCH FOR SMTP/SENDMAIL] ---- begin ---- begin ---- begin Index: lib/damagecontrol/publisher/smtp.rb =================================================================== --- lib/damagecontrol/publisher/smtp.rb (revision 1476) +++ lib/damagecontrol/publisher/smtp.rb (working copy) @@ -1,5 +1,5 @@ require 'action_mailer' -require 'damagecontrol/publisher/base' +require 'damagecontrol/publisher/abstract_email' module DamageControl module Publisher @@ -57,4 +57,4 @@ end end end -end \ No newline at end of file +end Index: lib/damagecontrol/publisher/sendmail.rb =================================================================== --- lib/damagecontrol/publisher/sendmail.rb (revision 1476) +++ lib/damagecontrol/publisher/sendmail.rb (working copy) @@ -1,5 +1,5 @@ require 'action_mailer' -require 'damagecontrol/publisher/base' +require 'damagecontrol/publisher/abstract_email' module DamageControl module Publisher @@ -23,4 +23,4 @@ # for BWC only end end -end \ No newline at end of file +end Index: lib/damagecontrol/publisher/abstract_email.rb =================================================================== --- lib/damagecontrol/publisher/abstract_email.rb (revision 1476) +++ lib/damagecontrol/publisher/abstract_email.rb (working copy) @@ -36,9 +36,10 @@ @from = email_publisher.from - @subject = "#{build.revision.project.name} Build #{build.status_message}" - @sent_on = Time.new.utc + @subject = "#{build.revision.project.name}(r#{build.revision.identifier}) Build #{build.status_message}" + @sent_on = Time.new @headers['Content-Type'] = "text/html" + @headers['Mime-Version'] = "1.0" @body["build"] = build end @@ -50,4 +51,4 @@ end end end -end \ No newline at end of file +end ---- end ---- end ---- end [CONTACT] Please send any ideas to: <URL:mailto:nobuyoshi.miyokawa.4g@...> -- MIYOKAWA, Nobuyoshi # EOF |
| Free embeddable forum powered by Nabble | Forum Help |