rscm version?

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

rscm version?

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

When I run "damagecontrol", I get the following:

/usr/local/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/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:18
        from
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:17:in
`call'
        from
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:42:in
`call'
        from
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in
`synchronize'
        from
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in
`call'
        from
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:117:in
`instance'
        from
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:in
`get'
        from
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:in
`method_missing'
        from
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:44:in
`run'
        from
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol:7
        from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
`load'
        from
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
`load'
        from /usr/local/bin/damagecontrol:18

After a little research, it seems as if "poller.rb" contains "require
'rscm/logging'".  However, the version of rscm that I am using
(rscm-0.4.0) doesn't contain "logging".

I thought that the problem had likely been addressed already, so I
decided to get a later version of DamageControl from subversion.
However, when clicking the "Subversion Access" link on the DamageControl
website, I get "Firefox can't find the server at hieraki.lavalamp.ca."

Thanks,

- Doug



Re: rscm version?

by Roberto Mello :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jan 11, 2006 at 03:12:57PM -0600, Doug Knesek wrote:
>
> After a little research, it seems as if "poller.rb" contains "require
> 'rscm/logging'".  However, the version of rscm that I am using
> (rscm-0.4.0) doesn't contain "logging".
>
> I thought that the problem had likely been addressed already, so I
> decided to get a later version of DamageControl from subversion.
> However, when clicking the "Subversion Access" link on the DamageControl
> website, I get "Firefox can't find the server at hieraki.lavalamp.ca."

I've been trying to use DC, but the project seems to be dead. I've been on
the list for a little over a week, and I haven't seen a single message
from one of the committers.

I can't get it to even run, like you, and one other person has been able
to get DC to work in this list (that I've seen), but I didn't get it to
work after reproducing his steps.

-Roberto

--
Reality.Sys corrupted -- Reboot Universe (Y/N)?

Re: rscm version?

by Chad Woolley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Aslak was very responsive and active until recently.  He probably just had real life come up for a while.  I hope he will be back soon, DC has a lot of promise...

On 1/11/06, Roberto Mello <rmello@...> wrote:

I've been trying to use DC, but the project seems to be dead. I've been on
the list for a little over a week, and I haven't seen a single message
from one of the committers.

I can't get it to even run, like you, and one other person has been able
to get DC to work in this list (that I've seen), but I didn't get it to
work after reproducing his steps.

-Roberto

--
Reality.Sys corrupted -- Reboot Universe (Y/N)?


Re: rscm version?

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/11/06, Roberto Mello <rmello@...> wrote:

> On Wed, Jan 11, 2006 at 03:12:57PM -0600, Doug Knesek wrote:
> >
> > After a little research, it seems as if "poller.rb" contains "require
> > 'rscm/logging'".  However, the version of rscm that I am using
> > (rscm-0.4.0) doesn't contain "logging".
> >
> > I thought that the problem had likely been addressed already, so I
> > decided to get a later version of DamageControl from subversion.
> > However, when clicking the "Subversion Access" link on the DamageControl
> > website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
>

DamageControl has moved (or rather - is being moved). For a sneak peek see
http://dev.buildpatterns.com/trac/wiki/DamageControl

poller.rb is gone, moved to
http://dev.buildpatterns.com/trac/file/damagecontrol/trunk/lib/damagecontrol/process/scm_poller.rb
- it doesn't require 'rscm/logging'

> I've been trying to use DC, but the project seems to be dead. I've been on
> the list for a little over a week, and I haven't seen a single message
> from one of the committers.
>

It's not dead. I've just been extremely busy.

> I can't get it to even run, like you, and one other person has been able
> to get DC to work in this list (that I've seen), but I didn't get it to
> work after reproducing his steps.
>

I'm working on the documentation and getting a DC instance running on
TextDrive. I'm planning to invite more contributors to help out, but
I'm not quite there yet.

Aslak

> -Roberto
>
> --
> Reality.Sys corrupted -- Reboot Universe (Y/N)?
>

Re: rscm version?

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Aslak was very responsive and active until recently.  He probably just had
> real life come up for a while.  I hope he will be back soon, DC has a lot of
> promise...
>

Thanks Chad :-)

I apologise to all for the lack of response lately. Chad is right -
real life paid me a visit. I'll get a little more time going forward,
and my main efforts will go into improving community, infrastructure
etc so those of you who want can help out.

Then we'll work on making life easier for DC users.

Aslak

Re: rscm version?

by Nobuyoshi MIYOKAWA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Doug,

I wonder if you'd like to use damagecontrol-0.5.0.1404, you
must use rscm-0.2.1.1404, not rscm-0.4.0.

My apologies, the install memo I sent to the list few days
before contains wrong instructions about rscm install
process.  If you obey it, I wonder you result installing
rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
inconvenience.

I'll attach modified memo for this mail, but the best way
for using DamageControl, I think, may be to try new
repository's version(Thank you for great work, Aslak!).
I've not tried it yet, but try to install later.

Regards,

Nobuyoshi

2006/1/12, Doug Knesek <doug.knesek@...>:

> When I run "damagecontrol", I get the following:
>
> /usr/local/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/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:18
>         from
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:17:in
> `call'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:42:in
> `call'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in
> `synchronize'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleton.rb:40:in
> `call'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:117:in
> `instance'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:in
> `get'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:in
> `method_missing'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol/app.rb:44:in
> `run'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol:7
>         from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
> `load'
>         from
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:207:in
> `load'
>         from /usr/local/bin/damagecontrol:18
>
> After a little research, it seems as if "poller.rb" contains "require
> 'rscm/logging'".  However, the version of rscm that I am using
> (rscm-0.4.0) doesn't contain "logging".
>
> I thought that the problem had likely been addressed already, so I
> decided to get a later version of DamageControl from subversion.
> However, when clicking the "Subversion Access" link on the DamageControl
> website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
>
> Thanks,
>
> - Doug
>
>
>
>

------------------------------------------------------------
              HOW TO RUN DAMAGECONTROL(r1475)

  $Id: HowToRunDamageControl.txt,v 1.12 2006/01/12 04:10:24 nmiyo Exp $
------------------------------------------------------------

[ABOUT THIS MEMO]

This memo describes how to run DamageControl revision 1475
on Linux environment.


[WHY REVISION 1475?]

Currently, the development of DamageControl is continuing on
the 'branches/damagecontrol_active_record' tree and you can
get the latest version from there(1744 as of today[2005/01/11]).

Or you'll get revision 1404(damagecontrol-0.5.0.1404) if you
try to install DamageControl via RubyGems.

DamageControl revision 1475 is neither REAL latest version
nor Gem-ed version.  Why do I recommend r1475?  The reasons
are:

  1. This is the latest version on 'trunk' tree.
     DamageControl on active_record branch(which the real
     latest version is on, as stated above) has more
     useful/fancy features and I'm looking forward to
     release(if you have an interesting, give a try!), but
     unfortunately, I feel it may be a little bit unstable
     than trunk's one at my environment.  So I recommend
     trunk-version.
  2. r1475 has more features and enhanced view than r1404,
     so it deserve to try to do despite it may be more
     harder than to just type 'gem install'.
  3. r1475 is working stably on my environment for the past
     few months :-).


[INSTALL]

1. Install Ruby

Install Ruby EXACTLY version 1.8.2.  DamageControl@1475
could not work with Ruby 1.8.3 or newer because of some
errors.

Correctly, the real cause is compatibility between
activesupport and logger.rb.  Activesupport@..., which is
required by rails@..., assumes that logger.rb version is
just 1.5.2.4 and the logger.rb is distributed with
Ruby 1.8.2.


2. Install RubyGems

Install RubyGems.  See:

  <URL:http://docs.rubygems.org/read/chapter/3>


3. Install Gems.

Install below gems with correct version.  If you install
wrong version(regardless newer or older), you may be annoyed
some errors.  For example, you'd like to use Ruby on Rails
1.0, but DamageControl@1475 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


4. Install RSCM/DamageControl

Fetch RSCM/DamageControl via Subversion repository and
install it as Gem.  Maybe you can run DamageControl without
installing them as Gem, but it's a easy way, I think.

CAUTION:
RSCM version is 1476 and DamageControl version is 1475.
They are _NOT_ same!  But, there is no difference from
damagecontrol@1475 to damagecontrol@1476, so if you confuse
which version number you must use, you should just memorize
1476, which is used for RSCM and DamageControl both :-)


4.1. Fetch them.

| % svn co -r 1476 svn://beaver.codehaus.org/damagecontrol/scm/trunk/rscm rscm@1476
| % svn co -r 1475 svn://beaver.codehaus.org/damagecontrol/scm/trunk/damagecontrol damagecontrol@1475
| % ls
| damagecontrol@1475/     rscm@1476/


4.2. Apply patch(optional).

If you'd like to use Sendmail publisher, you should need to
apply attached patch.

| % (cd damagecontrol@1475; patch -p0 < THIS_MEMO)
| (snip)


4.3. Build GEM packages

  It may be a 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.2.1.1476
|   File: rscm-0.2.1.1476.gem
| mv rscm-0.2.1.1476.gem pkg/rscm-0.2.1.1476.gem
| % (cd damagecontrol@1475; PKG_BUILD=1475 rake gem)
| (cd damagecontrol@1475; PKG_BUILD=1475 rake)
| (in /home/n-miyo/tmp/DC/damagecontrol@1475)
| mkdir -p pkg
|   Successfully built RubyGem
|   Name: damagecontrol
|   Version: 0.5.1.1475
|   File: damagecontrol-0.5.1.1475.gem
| mv damagecontrol-0.5.1.1475.gem pkg/damagecontrol-0.5.1.1475.gem


4.4. Install produced Gems

| % su
| # gem install rscm@1476/pkg/rscm-0.2.1.1476.gem
| (snip)
| # gem install damagecontrol@1475/pkg/damagecontrol-0.5.1.1475.gem
| (snip)


[RUN]

After installing DamageControl and RSCM as Gems, you can run
DamageControl, 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 DamageControl will create
     'project' directory in this directory, where the
     project related files are stored.
  3) Run 'damagecontrol-webrick'
  4) Run 'damagecontrol' itself.


Usually, 'damagecontrol-webrick' and 'damagecontrol' have
been already installed to /usr/local/bin.  You can run these
scripts as some DamageControl specific user id instead of
'root'.  If you prefer, you can run DamageControl with some
Web server and cgi scheme(currently, I'm running
DamageControl via Fast-CGI with Apache).

The sample script for running DamageControl is below.

---- 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 TO SERVER]

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(default port), so can
connect to:

  http://<THE_SERVER_WHERE_DC_IS_RUNNNIG>:3000/

and you can see DamageControl project page.  Congratulations!


[FEEDBACK]

I know it's neither better nor easier way to run
DamageControl.  So if you have any suggestions or good
ideas, please send comments to me:

  MIYOKAWA, Nobuyoshi <nobuyoshi.miyokawa.4g@...>


[Appendix A. Patch For Smtp/Sendmail]

See '4.3. Apply patch(optional)' about this patch.


---- begin ---- begin ---- begin
Index: lib/damagecontrol/publisher/smtp.rb
===================================================================
--- lim/damagecontrol/publisher/smtp.rb (revision 1475)
+++ 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 1475)
+++ 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 1475)
+++ 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


# EOF

RE: rscm version?

by torreborre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Noboyushi,

I tried this morning the latest trunk version:

-svn co ....
-install ruby with one-click installer on windows
-gem install damagecontrol
-set RAILS_ENV=production
-set DAMAGECONTROL_HOME="c:\dcbuild"
-damagecontrol-webrick
-damagecontrol

Then I get the same error:

c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend
enci
es.rb:200:in `const_missing': uninitialized constant Poller (NameError)
        from
c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
ontrol/app.rb:16
        from
c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
ontrol/app.rb:15:in `call'

Aslak, when do you think we may have a 5-steps install to damagecontrol?
What am I missing?

A power tool for continuous building is becoming my grail quest,... Anyway,
I read the comments/documentation on the TRAC site and the concepts seem
really promising.

One last question: is that possible to get the DamageControl presentation
given at RailsConf 2005?

Thanks for all,

Eric TORREBORRE
LTG Product Manager
 
LEIRIOS
TEMIS
18, rue Alain Savary
25000 Besançon
Phone: +33 (0)3 81 25 53 62
Fax: +33 (0)3 81 50 64 70
www.leirios.com
----------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended
recipient and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient, any disclosure, distribution or other use of this e-mail message
or attachments is prohibited. If you have received this e-mail message in
error, please delete and notify the sender immediately. Thank you.

-----Message d'origine-----
De : Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
Envoyé : jeudi 12 janvier 2006 05:31
À : user@...
Objet : Re: [damagecontrol-user] rscm version?

Hi Doug,

I wonder if you'd like to use damagecontrol-0.5.0.1404, you
must use rscm-0.2.1.1404, not rscm-0.4.0.

My apologies, the install memo I sent to the list few days
before contains wrong instructions about rscm install
process.  If you obey it, I wonder you result installing
rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
inconvenience.

I'll attach modified memo for this mail, but the best way
for using DamageControl, I think, may be to try new
repository's version(Thank you for great work, Aslak!).
I've not tried it yet, but try to install later.

Regards,

Nobuyoshi

2006/1/12, Doug Knesek <doug.knesek@...>:
> When I run "damagecontrol", I get the following:
>
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
endencies.rb:200:in
> `const_missing': uninitialized constant Poller (NameError)
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
/app.rb:18
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
/app.rb:17:in
> `call'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
n.rb:42:in
> `call'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
n.rb:40:in
> `synchronize'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
n.rb:40:in
> `call'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:1
17:in
> `instance'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:i
n
> `get'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:i
n
> `method_missing'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
/app.rb:44:in
> `run'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol
:7
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
endencies.rb:207:in
> `load'
>         from
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
endencies.rb:207:in

> `load'
>         from /usr/local/bin/damagecontrol:18
>
> After a little research, it seems as if "poller.rb" contains "require
> 'rscm/logging'".  However, the version of rscm that I am using
> (rscm-0.4.0) doesn't contain "logging".
>
> I thought that the problem had likely been addressed already, so I
> decided to get a later version of DamageControl from subversion.
> However, when clicking the "Subversion Access" link on the DamageControl
> website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
>
> Thanks,
>
> - Doug
>
>
>
>


Re: rscm version?

by Nobuyoshi MIYOKAWA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eric,

From your error message, I feel your system is trying to run
old DamageControl, which was installed from Gems repository.

If you'd like to use DamageControl which retrieved from
SVN-repository, you should not do 'gem install damagecontrol'.
You should:

  gem uninstall damagecontrol -v0.5.0.1404

to remove old one and run damagecontrol follow the INSTALL
document(but I have never tried to run DamageControl on
Windows platform, so I don't have knowledge to do that,
sorry).

I'm trying new trunk-ed version, which fetched from
buildpatterns.com(Thank you, Aslak!), but I've not get it to
work properly yet.  When I try to create new project, I get
an error:

| ActionView::TemplateError (undefined method `fields_for' for
#<#<Class:0x40f40e6
| 8>:0x4116ba6c>) on line #1 of app/views/project/_plugin_group.rhtml:
| 1: <% fields_for(:plugin, plugins[0]) do |p| %>
| 2:   <span class="plugin_group_header"><%= p.group_name %></span><br/>
| 3: <% end %>
| 4: <% plugins.each do |plugin| %>

Please tell me the instructions if anyone can run trunk
version.

Thank you,

Nobuyoshi

2006/1/12, torreborre <torreborre@...>:

> Hi Noboyushi,
>
> I tried this morning the latest trunk version:
>
> -svn co ....
> -install ruby with one-click installer on windows
> -gem install damagecontrol
> -set RAILS_ENV=production
> -set DAMAGECONTROL_HOME="c:\dcbuild"
> -damagecontrol-webrick
> -damagecontrol
>
> Then I get the same error:
>
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend
> enci
> es.rb:200:in `const_missing': uninitialized constant Poller (NameError)
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> ontrol/app.rb:16
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> ontrol/app.rb:15:in `call'
>
> Aslak, when do you think we may have a 5-steps install to damagecontrol?
> What am I missing?
>
> A power tool for continuous building is becoming my grail quest,... Anyway,
> I read the comments/documentation on the TRAC site and the concepts seem
> really promising.
>
> One last question: is that possible to get the DamageControl presentation
> given at RailsConf 2005?
>
> Thanks for all,
>
> Eric TORREBORRE
> LTG Product Manager
>
> LEIRIOS
> TEMIS
> 18, rue Alain Savary
> 25000 Besançon
> Phone: +33 (0)3 81 25 53 62
> Fax: +33 (0)3 81 50 64 70
> www.leirios.com
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the intended
> recipient and may contain information that is privileged, confidential or
> exempt from disclosure under applicable law. If you are not the intended
> recipient, any disclosure, distribution or other use of this e-mail message
> or attachments is prohibited. If you have received this e-mail message in
> error, please delete and notify the sender immediately. Thank you.
>
> -----Message d'origine-----
> De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> Envoyé: jeudi 12 janvier 2006 05:31
> À: user@...
> Objet: Re: [damagecontrol-user] rscm version?
>
> Hi Doug,
>
> I wonder if you'd like to use damagecontrol-0.5.0.1404, you
> must use rscm-0.2.1.1404, not rscm-0.4.0.
>
> My apologies, the install memo I sent to the list few days
> before contains wrong instructions about rscm install
> process.  If you obey it, I wonder you result installing
> rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
> inconvenience.
>
> I'll attach modified memo for this mail, but the best way
> for using DamageControl, I think, may be to try new
> repository's version(Thank you for great work, Aslak!).
> I've not tried it yet, but try to install later.
>
> Regards,
>
> Nobuyoshi
>
> 2006/1/12, Doug Knesek <doug.knesek@...>:
> > When I run "damagecontrol", I get the following:
> >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> endencies.rb:200:in
> > `const_missing': uninitialized constant Poller (NameError)
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> /app.rb:18
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> /app.rb:17:in
> > `call'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> n.rb:42:in
> > `call'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> n.rb:40:in
> > `synchronize'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> n.rb:40:in
> > `call'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:1
> 17:in
> > `instance'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:i
> n
> > `get'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:i
> n
> > `method_missing'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> /app.rb:44:in
> > `run'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol
> :7
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> endencies.rb:207:in
> > `load'
> >         from
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> endencies.rb:207:in
> > `load'
> >         from /usr/local/bin/damagecontrol:18
> >
> > After a little research, it seems as if "poller.rb" contains "require
> > 'rscm/logging'".  However, the version of rscm that I am using
> > (rscm-0.4.0) doesn't contain "logging".
> >
> > I thought that the problem had likely been addressed already, so I
> > decided to get a later version of DamageControl from subversion.
> > However, when clicking the "Subversion Access" link on the DamageControl
> > website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
> >
> > Thanks,
> >
> > - Doug
> >
> >
> >
> >
>
>

RE: rscm version?

by torreborre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Nobuyoshi,

However when I run "rake migrate RAILS_ENV=production", I got:

(in C:/dc)
rake aborted!
No such file to load -- meta_project

Do you have an idea what went wrong?

If I bypass this step and try ruby init.rb then I get:

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__':
No
such file to load -- cmdparse (LoadError)
        from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`re
quire'
        from init.rb:2

It seems like a variable is not set.


Thanks,

Eric.

Eric TORREBORRE
LTG Product Manager
 
LEIRIOS
TEMIS
18, rue Alain Savary
25000 Besançon
Phone: +33 (0)3 81 25 53 62
Fax: +33 (0)3 81 50 64 70
www.leirios.com
----------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended
recipient and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient, any disclosure, distribution or other use of this e-mail message
or attachments is prohibited. If you have received this e-mail message in
error, please delete and notify the sender immediately. Thank you.

-----Message d'origine-----
De : Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
Envoyé : jeudi 12 janvier 2006 10:32
À : user@...
Objet : Re: [damagecontrol-user] rscm version?

Hi Eric,

From your error message, I feel your system is trying to run
old DamageControl, which was installed from Gems repository.

If you'd like to use DamageControl which retrieved from
SVN-repository, you should not do 'gem install damagecontrol'.
You should:

  gem uninstall damagecontrol -v0.5.0.1404

to remove old one and run damagecontrol follow the INSTALL
document(but I have never tried to run DamageControl on
Windows platform, so I don't have knowledge to do that,
sorry).

I'm trying new trunk-ed version, which fetched from
buildpatterns.com(Thank you, Aslak!), but I've not get it to
work properly yet.  When I try to create new project, I get
an error:

| ActionView::TemplateError (undefined method `fields_for' for
#<#<Class:0x40f40e6
| 8>:0x4116ba6c>) on line #1 of app/views/project/_plugin_group.rhtml:
| 1: <% fields_for(:plugin, plugins[0]) do |p| %>
| 2:   <span class="plugin_group_header"><%= p.group_name %></span><br/>
| 3: <% end %>
| 4: <% plugins.each do |plugin| %>

Please tell me the instructions if anyone can run trunk
version.

Thank you,

Nobuyoshi

2006/1/12, torreborre <torreborre@...>:

> Hi Noboyushi,
>
> I tried this morning the latest trunk version:
>
> -svn co ....
> -install ruby with one-click installer on windows
> -gem install damagecontrol
> -set RAILS_ENV=production
> -set DAMAGECONTROL_HOME="c:\dcbuild"
> -damagecontrol-webrick
> -damagecontrol
>
> Then I get the same error:
>
>
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend

> enci
> es.rb:200:in `const_missing': uninitialized constant Poller (NameError)
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> ontrol/app.rb:16
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> ontrol/app.rb:15:in `call'
>
> Aslak, when do you think we may have a 5-steps install to damagecontrol?
> What am I missing?
>
> A power tool for continuous building is becoming my grail quest,...
Anyway,

> I read the comments/documentation on the TRAC site and the concepts seem
> really promising.
>
> One last question: is that possible to get the DamageControl presentation
> given at RailsConf 2005?
>
> Thanks for all,
>
> Eric TORREBORRE
> LTG Product Manager
>
> LEIRIOS
> TEMIS
> 18, rue Alain Savary
> 25000 Besançon
> Phone: +33 (0)3 81 25 53 62
> Fax: +33 (0)3 81 50 64 70
> www.leirios.com
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the
intended
> recipient and may contain information that is privileged, confidential or
> exempt from disclosure under applicable law. If you are not the intended
> recipient, any disclosure, distribution or other use of this e-mail
message

> or attachments is prohibited. If you have received this e-mail message in
> error, please delete and notify the sender immediately. Thank you.
>
> -----Message d'origine-----
> De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> Envoyé: jeudi 12 janvier 2006 05:31
> À: user@...
> Objet: Re: [damagecontrol-user] rscm version?
>
> Hi Doug,
>
> I wonder if you'd like to use damagecontrol-0.5.0.1404, you
> must use rscm-0.2.1.1404, not rscm-0.4.0.
>
> My apologies, the install memo I sent to the list few days
> before contains wrong instructions about rscm install
> process.  If you obey it, I wonder you result installing
> rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
> inconvenience.
>
> I'll attach modified memo for this mail, but the best way
> for using DamageControl, I think, may be to try new
> repository's version(Thank you for great work, Aslak!).
> I've not tried it yet, but try to install later.
>
> Regards,
>
> Nobuyoshi
>
> 2006/1/12, Doug Knesek <doug.knesek@...>:
> > When I run "damagecontrol", I get the following:
> >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> endencies.rb:200:in
> > `const_missing': uninitialized constant Poller (NameError)
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> /app.rb:18
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> /app.rb:17:in
> > `call'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> n.rb:42:in
> > `call'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> n.rb:40:in
> > `synchronize'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> n.rb:40:in
> > `call'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:1
> 17:in
> > `instance'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:i
> n
> > `get'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:i
> n
> > `method_missing'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> /app.rb:44:in
> > `run'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol
> :7
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> endencies.rb:207:in
> > `load'
> >         from
> >
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep

> endencies.rb:207:in
> > `load'
> >         from /usr/local/bin/damagecontrol:18
> >
> > After a little research, it seems as if "poller.rb" contains "require
> > 'rscm/logging'".  However, the version of rscm that I am using
> > (rscm-0.4.0) doesn't contain "logging".
> >
> > I thought that the problem had likely been addressed already, so I
> > decided to get a later version of DamageControl from subversion.
> > However, when clicking the "Subversion Access" link on the DamageControl
> > website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
> >
> > Thanks,
> >
> > - Doug
> >
> >
> >
> >
>
>


Re: rscm version?

by Nobuyoshi MIYOKAWA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eric,

I feel you just install meta_project and cmdparse as Gem, such as,

    C:> gem install meta_project cmdparse

Good luck!

Nobuyoshi

2006/1/12, torreborre <torreborre@...>:

> Thanks Nobuyoshi,
>
> However when I run "rake migrate RAILS_ENV=production", I got:
>
> (in C:/dc)
> rake aborted!
> No such file to load -- meta_project
>
> Do you have an idea what went wrong?
>
> If I bypass this step and try ruby init.rb then I get:
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__':
> No
> such file to load -- cmdparse (LoadError)
>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `re
> quire'
>         from init.rb:2
>
> It seems like a variable is not set.
>
>
> Thanks,
>
> Eric.
>
> Eric TORREBORRE
> LTG Product Manager
>
> LEIRIOS
> TEMIS
> 18, rue Alain Savary
> 25000 Besançon
> Phone: +33 (0)3 81 25 53 62
> Fax: +33 (0)3 81 50 64 70
> www.leirios.com
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the intended
> recipient and may contain information that is privileged, confidential or
> exempt from disclosure under applicable law. If you are not the intended
> recipient, any disclosure, distribution or other use of this e-mail message
> or attachments is prohibited. If you have received this e-mail message in
> error, please delete and notify the sender immediately. Thank you.
>
> -----Message d'origine-----
> De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> Envoyé: jeudi 12 janvier 2006 10:32
> À: user@...
> Objet: Re: [damagecontrol-user] rscm version?
>
> Hi Eric,
>
> From your error message, I feel your system is trying to run
> old DamageControl, which was installed from Gems repository.
>
> If you'd like to use DamageControl which retrieved from
> SVN-repository, you should not do 'gem install damagecontrol'.
> You should:
>
>   gem uninstall damagecontrol -v0.5.0.1404
>
> to remove old one and run damagecontrol follow the INSTALL
> document(but I have never tried to run DamageControl on
> Windows platform, so I don't have knowledge to do that,
> sorry).
>
> I'm trying new trunk-ed version, which fetched from
> buildpatterns.com(Thank you, Aslak!), but I've not get it to
> work properly yet.  When I try to create new project, I get
> an error:
>
> | ActionView::TemplateError (undefined method `fields_for' for
> #<#<Class:0x40f40e6
> | 8>:0x4116ba6c>) on line #1 of app/views/project/_plugin_group.rhtml:
> | 1: <% fields_for(:plugin, plugins[0]) do |p| %>
> | 2:   <span class="plugin_group_header"><%= p.group_name %></span><br/>
> | 3: <% end %>
> | 4: <% plugins.each do |plugin| %>
>
> Please tell me the instructions if anyone can run trunk
> version.
>
> Thank you,
>
> Nobuyoshi
>
> 2006/1/12, torreborre <torreborre@...>:
> > Hi Noboyushi,
> >
> > I tried this morning the latest trunk version:
> >
> > -svn co ....
> > -install ruby with one-click installer on windows
> > -gem install damagecontrol
> > -set RAILS_ENV=production
> > -set DAMAGECONTROL_HOME="c:\dcbuild"
> > -damagecontrol-webrick
> > -damagecontrol
> >
> > Then I get the same error:
> >
> >
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend
> > enci
> > es.rb:200:in `const_missing': uninitialized constant Poller (NameError)
> >         from
> > c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> > ontrol/app.rb:16
> >         from
> > c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> > ontrol/app.rb:15:in `call'
> >
> > Aslak, when do you think we may have a 5-steps install to damagecontrol?
> > What am I missing?
> >
> > A power tool for continuous building is becoming my grail quest,...
> Anyway,
> > I read the comments/documentation on the TRAC site and the concepts seem
> > really promising.
> >
> > One last question: is that possible to get the DamageControl presentation
> > given at RailsConf 2005?
> >
> > Thanks for all,
> >
> > Eric TORREBORRE
> > LTG Product Manager
> >
> > LEIRIOS
> > TEMIS
> > 18, rue Alain Savary
> > 25000 Besançon
> > Phone: +33 (0)3 81 25 53 62
> > Fax: +33 (0)3 81 50 64 70
> > www.leirios.com
> > ----------------------------------------------------------------------
> > CONFIDENTIALITY NOTICE
> > This e-mail message and any attachments are only for the use of the
> intended
> > recipient and may contain information that is privileged, confidential or
> > exempt from disclosure under applicable law. If you are not the intended
> > recipient, any disclosure, distribution or other use of this e-mail
> message
> > or attachments is prohibited. If you have received this e-mail message in
> > error, please delete and notify the sender immediately. Thank you.
> >
> > -----Message d'origine-----
> > De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> > Envoyé: jeudi 12 janvier 2006 05:31
> > À: user@...
> > Objet: Re: [damagecontrol-user] rscm version?
> >
> > Hi Doug,
> >
> > I wonder if you'd like to use damagecontrol-0.5.0.1404, you
> > must use rscm-0.2.1.1404, not rscm-0.4.0.
> >
> > My apologies, the install memo I sent to the list few days
> > before contains wrong instructions about rscm install
> > process.  If you obey it, I wonder you result installing
> > rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
> > inconvenience.
> >
> > I'll attach modified memo for this mail, but the best way
> > for using DamageControl, I think, may be to try new
> > repository's version(Thank you for great work, Aslak!).
> > I've not tried it yet, but try to install later.
> >
> > Regards,
> >
> > Nobuyoshi
> >
> > 2006/1/12, Doug Knesek <doug.knesek@...>:
> > > When I run "damagecontrol", I get the following:
> > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > endencies.rb:200:in
> > > `const_missing': uninitialized constant Poller (NameError)
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > /app.rb:18
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > /app.rb:17:in
> > > `call'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > n.rb:42:in
> > > `call'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > n.rb:40:in
> > > `synchronize'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > n.rb:40:in
> > > `call'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:1
> > 17:in
> > > `instance'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:i
> > n
> > > `get'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:i
> > n
> > > `method_missing'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > /app.rb:44:in
> > > `run'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol
> > :7
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > endencies.rb:207:in
> > > `load'
> > >         from
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > endencies.rb:207:in
> > > `load'
> > >         from /usr/local/bin/damagecontrol:18
> > >
> > > After a little research, it seems as if "poller.rb" contains "require
> > > 'rscm/logging'".  However, the version of rscm that I am using
> > > (rscm-0.4.0) doesn't contain "logging".
> > >
> > > I thought that the problem had likely been addressed already, so I
> > > decided to get a later version of DamageControl from subversion.
> > > However, when clicking the "Subversion Access" link on the DamageControl
> > > website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
> > >
> > > Thanks,
> > >
> > > - Doug
> > >
> > >
> > >
> > >
> >
> >
>
>

RE: installing DC from the svn trunk

by torreborre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Damn,

I don't have yet enough background on the Ruby ecosystem to get that kind of
reflex. Now I do!

So I also installed ferret, ambient, gmailer, x10-cm17a, rubyzip,
sqlite3,... and then: the rake command is ok!

However if I try ruby init.rb, I get a new error:

./lib/damagecontrol/process/base.rb:24:in `fork': The fork() function is
unimple
mented on this machine (NotImplementedError)
        from ./lib/damagecontrol/process/base.rb:24:in `execute'
        from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
        from ./lib/damagecontrol/process/base.rb:22:in `each'
        from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
        from ./lib/damagecontrol/process/base.rb:22:in `execute'
        from
c:/ruby/lib/ruby/gems/1.8/gems/cmdparse-2.0.0/lib/cmdparse.rb:412:i
n `parse'
        from init.rb:32


Which may not be a good sign for my windows installation. What do you think?

Eric TORREBORRE
LTG Product Manager
 
LEIRIOS
TEMIS
18, rue Alain Savary
25000 Besançon
Phone: +33 (0)3 81 25 53 62
Fax: +33 (0)3 81 50 64 70
www.leirios.com
----------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended
recipient and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient, any disclosure, distribution or other use of this e-mail message
or attachments is prohibited. If you have received this e-mail message in
error, please delete and notify the sender immediately. Thank you.

-----Message d'origine-----
De : Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
Envoyé : jeudi 12 janvier 2006 12:35
À : user@...
Objet : Re: [damagecontrol-user] rscm version?

Hi Eric,

I feel you just install meta_project and cmdparse as Gem, such as,

    C:> gem install meta_project cmdparse

Good luck!

Nobuyoshi

2006/1/12, torreborre <torreborre@...>:

> Thanks Nobuyoshi,
>
> However when I run "rake migrate RAILS_ENV=production", I got:
>
> (in C:/dc)
> rake aborted!
> No such file to load -- meta_project
>
> Do you have an idea what went wrong?
>
> If I bypass this step and try ruby init.rb then I get:
>
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__':
> No
> such file to load -- cmdparse (LoadError)
>         from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in

> `re
> quire'
>         from init.rb:2
>
> It seems like a variable is not set.
>
>
> Thanks,
>
> Eric.
>
> Eric TORREBORRE
> LTG Product Manager
>
> LEIRIOS
> TEMIS
> 18, rue Alain Savary
> 25000 Besançon
> Phone: +33 (0)3 81 25 53 62
> Fax: +33 (0)3 81 50 64 70
> www.leirios.com
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the
intended
> recipient and may contain information that is privileged, confidential or
> exempt from disclosure under applicable law. If you are not the intended
> recipient, any disclosure, distribution or other use of this e-mail
message

> or attachments is prohibited. If you have received this e-mail message in
> error, please delete and notify the sender immediately. Thank you.
>
> -----Message d'origine-----
> De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> Envoyé: jeudi 12 janvier 2006 10:32
> À: user@...
> Objet: Re: [damagecontrol-user] rscm version?
>
> Hi Eric,
>
> From your error message, I feel your system is trying to run
> old DamageControl, which was installed from Gems repository.
>
> If you'd like to use DamageControl which retrieved from
> SVN-repository, you should not do 'gem install damagecontrol'.
> You should:
>
>   gem uninstall damagecontrol -v0.5.0.1404
>
> to remove old one and run damagecontrol follow the INSTALL
> document(but I have never tried to run DamageControl on
> Windows platform, so I don't have knowledge to do that,
> sorry).
>
> I'm trying new trunk-ed version, which fetched from
> buildpatterns.com(Thank you, Aslak!), but I've not get it to
> work properly yet.  When I try to create new project, I get
> an error:
>
> | ActionView::TemplateError (undefined method `fields_for' for
> #<#<Class:0x40f40e6
> | 8>:0x4116ba6c>) on line #1 of app/views/project/_plugin_group.rhtml:
> | 1: <% fields_for(:plugin, plugins[0]) do |p| %>
> | 2:   <span class="plugin_group_header"><%= p.group_name %></span><br/>
> | 3: <% end %>
> | 4: <% plugins.each do |plugin| %>
>
> Please tell me the instructions if anyone can run trunk
> version.
>
> Thank you,
>
> Nobuyoshi
>
> 2006/1/12, torreborre <torreborre@...>:
> > Hi Noboyushi,
> >
> > I tried this morning the latest trunk version:
> >
> > -svn co ....
> > -install ruby with one-click installer on windows
> > -gem install damagecontrol
> > -set RAILS_ENV=production
> > -set DAMAGECONTROL_HOME="c:\dcbuild"
> > -damagecontrol-webrick
> > -damagecontrol
> >
> > Then I get the same error:
> >
> >
>
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend

> > enci
> > es.rb:200:in `const_missing': uninitialized constant Poller (NameError)
> >         from
> > c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> > ontrol/app.rb:16
> >         from
> > c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> > ontrol/app.rb:15:in `call'
> >
> > Aslak, when do you think we may have a 5-steps install to damagecontrol?
> > What am I missing?
> >
> > A power tool for continuous building is becoming my grail quest,...
> Anyway,
> > I read the comments/documentation on the TRAC site and the concepts seem
> > really promising.
> >
> > One last question: is that possible to get the DamageControl
presentation

> > given at RailsConf 2005?
> >
> > Thanks for all,
> >
> > Eric TORREBORRE
> > LTG Product Manager
> >
> > LEIRIOS
> > TEMIS
> > 18, rue Alain Savary
> > 25000 Besançon
> > Phone: +33 (0)3 81 25 53 62
> > Fax: +33 (0)3 81 50 64 70
> > www.leirios.com
> > ----------------------------------------------------------------------
> > CONFIDENTIALITY NOTICE
> > This e-mail message and any attachments are only for the use of the
> intended
> > recipient and may contain information that is privileged, confidential
or
> > exempt from disclosure under applicable law. If you are not the intended
> > recipient, any disclosure, distribution or other use of this e-mail
> message
> > or attachments is prohibited. If you have received this e-mail message
in

> > error, please delete and notify the sender immediately. Thank you.
> >
> > -----Message d'origine-----
> > De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> > Envoyé: jeudi 12 janvier 2006 05:31
> > À: user@...
> > Objet: Re: [damagecontrol-user] rscm version?
> >
> > Hi Doug,
> >
> > I wonder if you'd like to use damagecontrol-0.5.0.1404, you
> > must use rscm-0.2.1.1404, not rscm-0.4.0.
> >
> > My apologies, the install memo I sent to the list few days
> > before contains wrong instructions about rscm install
> > process.  If you obey it, I wonder you result installing
> > rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
> > inconvenience.
> >
> > I'll attach modified memo for this mail, but the best way
> > for using DamageControl, I think, may be to try new
> > repository's version(Thank you for great work, Aslak!).
> > I've not tried it yet, but try to install later.
> >
> > Regards,
> >
> > Nobuyoshi
> >
> > 2006/1/12, Doug Knesek <doug.knesek@...>:
> > > When I run "damagecontrol", I get the following:
> > >
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > endencies.rb:200:in
> > > `const_missing': uninitialized constant Poller (NameError)
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > /app.rb:18
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > /app.rb:17:in
> > > `call'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > n.rb:42:in
> > > `call'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > n.rb:40:in
> > > `synchronize'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > n.rb:40:in
> > > `call'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:1
> > 17:in
> > > `instance'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:i
> > n
> > > `get'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:i
> > n
> > > `method_missing'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > /app.rb:44:in
> > > `run'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol
> > :7
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > endencies.rb:207:in
> > > `load'
> > >         from
> > >
> >
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep

> > endencies.rb:207:in
> > > `load'
> > >         from /usr/local/bin/damagecontrol:18
> > >
> > > After a little research, it seems as if "poller.rb" contains "require
> > > 'rscm/logging'".  However, the version of rscm that I am using
> > > (rscm-0.4.0) doesn't contain "logging".
> > >
> > > I thought that the problem had likely been addressed already, so I
> > > decided to get a later version of DamageControl from subversion.
> > > However, when clicking the "Subversion Access" link on the
DamageControl

> > > website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
> > >
> > > Thanks,
> > >
> > > - Doug
> > >
> > >
> > >
> > >
> >
> >
>
>


Re: installing DC from the svn trunk

by Nobuyoshi MIYOKAWA :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Eric,

I have little knowledge about ruby on Windows, but I feel it's
hard way to run DamageControl on the ruby binary which does
not support fork() system call....

If you prefer, you may use Cygwin-ed ruby(which supports
fork() system call), but I've never use it and I don't know
whether it can run DamageControl or not, sorry.

  http://ftp.ruby-lang.org/pub/ruby/binaries/cygwin/

I'm sorry that I cannot help you.

Regards,

Nobuyoshi

2006/1/12, torreborre <torreborre@...>:

> Damn,
>
> I don't have yet enough background on the Ruby ecosystem to get that kind of
> reflex. Now I do!
>
> So I also installed ferret, ambient, gmailer, x10-cm17a, rubyzip,
> sqlite3,... and then: the rake command is ok!
>
> However if I try ruby init.rb, I get a new error:
>
> ./lib/damagecontrol/process/base.rb:24:in `fork': The fork() function is
> unimple
> mented on this machine (NotImplementedError)
>         from ./lib/damagecontrol/process/base.rb:24:in `execute'
>         from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
>         from ./lib/damagecontrol/process/base.rb:22:in `each'
>         from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
>         from ./lib/damagecontrol/process/base.rb:22:in `execute'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/cmdparse-2.0.0/lib/cmdparse.rb:412:i
> n `parse'
>         from init.rb:32
>
>
> Which may not be a good sign for my windows installation. What do you think?
>
> Eric TORREBORRE
> LTG Product Manager
>
> LEIRIOS
> TEMIS
> 18, rue Alain Savary
> 25000 Besançon
> Phone: +33 (0)3 81 25 53 62
> Fax: +33 (0)3 81 50 64 70
> www.leirios.com
> ----------------------------------------------------------------------
> CONFIDENTIALITY NOTICE
> This e-mail message and any attachments are only for the use of the intended
> recipient and may contain information that is privileged, confidential or
> exempt from disclosure under applicable law. If you are not the intended
> recipient, any disclosure, distribution or other use of this e-mail message
> or attachments is prohibited. If you have received this e-mail message in
> error, please delete and notify the sender immediately. Thank you.
>
> -----Message d'origine-----
> De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> Envoyé: jeudi 12 janvier 2006 12:35
> À: user@...
> Objet: Re: [damagecontrol-user] rscm version?
>
> Hi Eric,
>
> I feel you just install meta_project and cmdparse as Gem, such as,
>
>     C:> gem install meta_project cmdparse
>
> Good luck!
>
> Nobuyoshi
>
> 2006/1/12, torreborre <torreborre@...>:
> > Thanks Nobuyoshi,
> >
> > However when I run "rake migrate RAILS_ENV=production", I got:
> >
> > (in C:/dc)
> > rake aborted!
> > No such file to load -- meta_project
> >
> > Do you have an idea what went wrong?
> >
> > If I bypass this step and try ruby init.rb then I get:
> >
> > c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
> `require__':
> > No
> > such file to load -- cmdparse (LoadError)
> >         from
> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
> > `re
> > quire'
> >         from init.rb:2
> >
> > It seems like a variable is not set.
> >
> >
> > Thanks,
> >
> > Eric.
> >
> > Eric TORREBORRE
> > LTG Product Manager
> >
> > LEIRIOS
> > TEMIS
> > 18, rue Alain Savary
> > 25000 Besançon
> > Phone: +33 (0)3 81 25 53 62
> > Fax: +33 (0)3 81 50 64 70
> > www.leirios.com
> > ----------------------------------------------------------------------
> > CONFIDENTIALITY NOTICE
> > This e-mail message and any attachments are only for the use of the
> intended
> > recipient and may contain information that is privileged, confidential or
> > exempt from disclosure under applicable law. If you are not the intended
> > recipient, any disclosure, distribution or other use of this e-mail
> message
> > or attachments is prohibited. If you have received this e-mail message in
> > error, please delete and notify the sender immediately. Thank you.
> >
> > -----Message d'origine-----
> > De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> > Envoyé: jeudi 12 janvier 2006 10:32
> > À: user@...
> > Objet: Re: [damagecontrol-user] rscm version?
> >
> > Hi Eric,
> >
> > From your error message, I feel your system is trying to run
> > old DamageControl, which was installed from Gems repository.
> >
> > If you'd like to use DamageControl which retrieved from
> > SVN-repository, you should not do 'gem install damagecontrol'.
> > You should:
> >
> >   gem uninstall damagecontrol -v0.5.0.1404
> >
> > to remove old one and run damagecontrol follow the INSTALL
> > document(but I have never tried to run DamageControl on
> > Windows platform, so I don't have knowledge to do that,
> > sorry).
> >
> > I'm trying new trunk-ed version, which fetched from
> > buildpatterns.com(Thank you, Aslak!), but I've not get it to
> > work properly yet.  When I try to create new project, I get
> > an error:
> >
> > | ActionView::TemplateError (undefined method `fields_for' for
> > #<#<Class:0x40f40e6
> > | 8>:0x4116ba6c>) on line #1 of app/views/project/_plugin_group.rhtml:
> > | 1: <% fields_for(:plugin, plugins[0]) do |p| %>
> > | 2:   <span class="plugin_group_header"><%= p.group_name %></span><br/>
> > | 3: <% end %>
> > | 4: <% plugins.each do |plugin| %>
> >
> > Please tell me the instructions if anyone can run trunk
> > version.
> >
> > Thank you,
> >
> > Nobuyoshi
> >
> > 2006/1/12, torreborre <torreborre@...>:
> > > Hi Noboyushi,
> > >
> > > I tried this morning the latest trunk version:
> > >
> > > -svn co ....
> > > -install ruby with one-click installer on windows
> > > -gem install damagecontrol
> > > -set RAILS_ENV=production
> > > -set DAMAGECONTROL_HOME="c:\dcbuild"
> > > -damagecontrol-webrick
> > > -damagecontrol
> > >
> > > Then I get the same error:
> > >
> > >
> >
> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/depend
> > > enci
> > > es.rb:200:in `const_missing': uninitialized constant Poller (NameError)
> > >         from
> > > c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> > > ontrol/app.rb:16
> > >         from
> > > c:/ruby/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagec
> > > ontrol/app.rb:15:in `call'
> > >
> > > Aslak, when do you think we may have a 5-steps install to damagecontrol?
> > > What am I missing?
> > >
> > > A power tool for continuous building is becoming my grail quest,...
> > Anyway,
> > > I read the comments/documentation on the TRAC site and the concepts seem
> > > really promising.
> > >
> > > One last question: is that possible to get the DamageControl
> presentation
> > > given at RailsConf 2005?
> > >
> > > Thanks for all,
> > >
> > > Eric TORREBORRE
> > > LTG Product Manager
> > >
> > > LEIRIOS
> > > TEMIS
> > > 18, rue Alain Savary
> > > 25000 Besançon
> > > Phone: +33 (0)3 81 25 53 62
> > > Fax: +33 (0)3 81 50 64 70
> > > www.leirios.com
> > > ----------------------------------------------------------------------
> > > CONFIDENTIALITY NOTICE
> > > This e-mail message and any attachments are only for the use of the
> > intended
> > > recipient and may contain information that is privileged, confidential
> or
> > > exempt from disclosure under applicable law. If you are not the intended
> > > recipient, any disclosure, distribution or other use of this e-mail
> > message
> > > or attachments is prohibited. If you have received this e-mail message
> in
> > > error, please delete and notify the sender immediately. Thank you.
> > >
> > > -----Message d'origine-----
> > > De: Nobuyoshi MIYOKAWA [mailto:nobuyoshi.miyokawa.4g@...]
> > > Envoyé: jeudi 12 janvier 2006 05:31
> > > À: user@...
> > > Objet: Re: [damagecontrol-user] rscm version?
> > >
> > > Hi Doug,
> > >
> > > I wonder if you'd like to use damagecontrol-0.5.0.1404, you
> > > must use rscm-0.2.1.1404, not rscm-0.4.0.
> > >
> > > My apologies, the install memo I sent to the list few days
> > > before contains wrong instructions about rscm install
> > > process.  If you obey it, I wonder you result installing
> > > rscm-0.4.0, not rscm-0.2.1.  I'm very sorry for your
> > > inconvenience.
> > >
> > > I'll attach modified memo for this mail, but the best way
> > > for using DamageControl, I think, may be to try new
> > > repository's version(Thank you for great work, Aslak!).
> > > I've not tried it yet, but try to install later.
> > >
> > > Regards,
> > >
> > > Nobuyoshi
> > >
> > > 2006/1/12, Doug Knesek <doug.knesek@...>:
> > > > When I run "damagecontrol", I get the following:
> > > >
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > > endencies.rb:200:in
> > > > `const_missing': uninitialized constant Poller (NameError)
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > > /app.rb:18
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > > /app.rb:17:in
> > > > `call'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > > n.rb:42:in
> > > > `call'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > > n.rb:40:in
> > > > `synchronize'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/lifecycle/singleto
> > > n.rb:40:in
> > > > `call'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/service-point.rb:1
> > > 17:in
> > > > `instance'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:308:i
> > > n
> > > > `get'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/needle-1.2.0/lib/needle/container.rb:380:i
> > > n
> > > > `method_missing'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/lib/damagecontrol
> > > /app.rb:44:in
> > > > `run'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/damagecontrol-0.5.0.1404/bin/damagecontrol
> > > :7
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > > endencies.rb:207:in
> > > > `load'
> > > >         from
> > > >
> > >
> >
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dep
> > > endencies.rb:207:in
> > > > `load'
> > > >         from /usr/local/bin/damagecontrol:18
> > > >
> > > > After a little research, it seems as if "poller.rb" contains "require
> > > > 'rscm/logging'".  However, the version of rscm that I am using
> > > > (rscm-0.4.0) doesn't contain "logging".
> > > >
> > > > I thought that the problem had likely been addressed already, so I
> > > > decided to get a later version of DamageControl from subversion.
> > > > However, when clicking the "Subversion Access" link on the
> DamageControl
> > > > website, I get "Firefox can't find the server at hieraki.lavalamp.ca."
> > > >
> > > > Thanks,
> > > >
> > > > - Doug
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>


--
MIYOKAWA, Nobuyoshi

Re: installing DC from the svn trunk

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> However if I try ruby init.rb, I get a new error:
>
> ./lib/damagecontrol/process/base.rb:24:in `fork': The fork() function is
> unimple
> mented on this machine (NotImplementedError)
>         from ./lib/damagecontrol/process/base.rb:24:in `execute'
>         from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
>         from ./lib/damagecontrol/process/base.rb:22:in `each'
>         from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
>         from ./lib/damagecontrol/process/base.rb:22:in `execute'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/cmdparse-2.0.0/lib/cmdparse.rb:412:i
> n `parse'
>         from init.rb:32
>

i am aware of this problem. i've created a ticket for it:
http://dev.buildpatterns.com/trac/ticket/2

aslak

RE: installing DC from the svn trunk

by torreborre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

So I am stuck right now,... I will watch the ticket or try my luck at a
linux install.

Thanks.

Eric TORREBORRE
LTG Product Manager
 
LEIRIOS
TEMIS
18, rue Alain Savary
25000 Besançon
Phone: +33 (0)3 81 25 53 62
Fax: +33 (0)3 81 50 64 70
www.leirios.com
----------------------------------------------------------------------
CONFIDENTIALITY NOTICE
This e-mail message and any attachments are only for the use of the intended
recipient and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient, any disclosure, distribution or other use of this e-mail message
or attachments is prohibited. If you have received this e-mail message in
error, please delete and notify the sender immediately. Thank you.

-----Message d'origine-----
De : aslak hellesoy [mailto:aslak.hellesoy@...]
Envoyé : jeudi 12 janvier 2006 17:30
À : user@...
Objet : Re: [damagecontrol-user] installing DC from the svn trunk

> However if I try ruby init.rb, I get a new error:
>
> ./lib/damagecontrol/process/base.rb:24:in `fork': The fork() function is
> unimple
> mented on this machine (NotImplementedError)
>         from ./lib/damagecontrol/process/base.rb:24:in `execute'
>         from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
>         from ./lib/damagecontrol/process/base.rb:22:in `each'
>         from ./lib/damagecontrol/process/base.rb:22:in `each_with_index'
>         from ./lib/damagecontrol/process/base.rb:22:in `execute'
>         from
> c:/ruby/lib/ruby/gems/1.8/gems/cmdparse-2.0.0/lib/cmdparse.rb:412:i
> n `parse'
>         from init.rb:32
>

i am aware of this problem. i've created a ticket for it:
http://dev.buildpatterns.com/trac/ticket/2

aslak


OS-X: installing DC from the svn trunk

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First of all - thanks to Aslak, et. al. for DamageControl, and for
responding to the posts on this list yesterday.

I am running OS-X 10.4.4.  I am new to ruby, rails, and lighttpd.

I've checked out DC from the svn trunk (revision 12).  After following
the instructions in the INSTALL file, I get the following:

>>>>>>>>>>
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb
=> /Users/dknesek/damagecontrol_data/dc.yml not found, copying from
/Users/dknesek/damagecontrol/trunk/config/dc.yml
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> /Users/dknesek/damagecontrol/trunk/config/lighttpd.conf not found,
copying from
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/configs/lighttpd.conf
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
2006-01-13 08:37:29: (mod_fastcgi.c.894) execve failed for:
public/dispatch.fcgi Permission denied
2006-01-13 08:37:29: (mod_fastcgi.c.920) the fastcgi-backend
public/dispatch.fcgi failed to start:
2006-01-13 08:37:29: (mod_fastcgi.c.924) child exited with status 13
public/dispatch.fcgi
2006-01-13 08:37:29: (mod_fastcgi.c.927) if you try do run PHP as
FastCGI backend make sure you use the FastCGI enabled version.
You can find out if it is the right one by executing 'php -v' and it
should display '(cgi-fcgi)' in the output, NOT (cgi) NOR (cli)
For more information check
http://www.lighttpd.net/documentation/fastcgi.html#preparing-php-as-a-fastcgi-program

2006-01-13 08:37:29: (mod_fastcgi.c.932) If this is PHP on Gentoo add
fastcgi to the USE flags
2006-01-13 08:37:29: (mod_fastcgi.c.1217) [ERROR]: spawning fcgi failed.
2006-01-13 08:37:29: (server.c.670) Configuration of plugins failed.
Going down.
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$
/Users/dknesek/damagecontrol_data/log/scm_poller.log
/Users/dknesek/damagecontrol_data/log/builder.log
<<<<<<<<<<<<

It seems like the lighttpd.conf is missing, so the one that comes with
rails is used.   So I copied lighttpd.conf from the "scripts" directory
into the "config" directory and tried again.  I get the following:

>>>>>>>>>>>>
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb
/Users/dknesek/damagecontrol_data/log/scm_poller.log
/Users/dknesek/damagecontrol_data/log/builder.log                                                                              

<<<<<<<<<<<<

It seems to just hang.  I go to the http:/localhost:8000 and get
"Firefox can't establish a connection to the server at localhost:8000."
So I go back to my console and press "^C" and get:

>>>>>>>>>>>>
^C./lib/damagecontrol/process/base.rb:29:in `wait': Interrupt
        from ./lib/damagecontrol/process/base.rb:29:in `execute'
        from ./lib/damagecontrol/process/base.rb:28
./lib/damagecontrol/process/base.rb:29:in `wait': Interrupt
        from ./lib/damagecontrol/process/base.rb:29:in `execute'
        from ./lib/damagecontrol/process/base.rb:28
<<<<<<<<<<<<

Here is the lighttpd_error.log.

>>>>>>>>>>>>
2006-01-13 08:54:56: (log.c.75) server started
2006-01-13 09:02:02: (mod_scgi.c.2223) establishing connection failed:
Connection refused
2006-01-13 09:02:02: (mod_scgi.c.2357) fcgi-server disabled: 127.0.0.1
9999
2006-01-13 09:02:02: (mod_scgi.c.2827) no fcgi-handler found for:
/dispatch.scgi
2006-01-13 09:03:03: (mod_scgi.c.2051) fcgi-server re-enabled: 127.0.0.1
9999
2006-01-13 09:03:36: (mod_scgi.c.2223) establishing connection failed:
Connection refused
2006-01-13 09:03:36: (mod_scgi.c.2357) fcgi-server disabled: 127.0.0.1
9999
2006-01-13 09:03:36: (mod_scgi.c.2827) no fcgi-handler found for:
/dispatch.scgi
2006-01-13 09:03:37: (mod_scgi.c.2827) no fcgi-handler found for:
/dispatch.scgi
2006-01-13 09:04:08: (log.c.135) server stopped
<<<<<<<<<<<<

I've also noticed that there is no "public/dispatch.scgi".  Any ideas?

Thanks,
- Doug



Re: OS-X: installing DC from the svn trunk

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/13/06, Doug Knesek <doug.knesek@...> wrote:
> First of all - thanks to Aslak, et. al. for DamageControl, and for
> responding to the posts on this list yesterday.
>
> I am running OS-X 10.4.4.  I am new to ruby, rails, and lighttpd.
>
> I've checked out DC from the svn trunk (revision 12).  After following
> the instructions in the INSTALL file, I get the following:
>

(snip)

> administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb
> It seems like the lighttpd.conf is missing, so the one that comes with
> rails is used.   So I copied lighttpd.conf from the "scripts" directory
> into the "config" directory and tried again.  I get the following:
>

do an svn up (i added edge rails this morning)
then do:

chmod +x public/dispatch.fcgi

and run again.

(is there a way to have svn 'remember' the file perms flags?)

>
> I've also noticed that there is no "public/dispatch.scgi".  Any ideas?
>

not sure - i may have to do another `rails .` to have it generated.

hth,
Aslak

> Thanks,
> - Doug
>
>
>
>

Re: OS-X: installing DC from the svn trunk

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

aslak hellesoy wrote:

>On 1/13/06, Doug Knesek <doug.knesek@...> wrote:
>  
>
>>First of all - thanks to Aslak, et. al. for DamageControl, and for
>>responding to the posts on this list yesterday.
>>
>>I am running OS-X 10.4.4.  I am new to ruby, rails, and lighttpd.
>>
>>I've checked out DC from the svn trunk (revision 12).  After following
>>the instructions in the INSTALL file, I get the following:
>>
>>    
>>
>
>(snip)
>
>  
>
>>administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb
>>It seems like the lighttpd.conf is missing, so the one that comes with
>>rails is used.   So I copied lighttpd.conf from the "scripts" directory
>>into the "config" directory and tried again.  I get the following:
>>
>>    
>>
>
>do an svn up (i added edge rails this morning)
>then do:
>
>chmod +x public/dispatch.fcgi
>
>and run again.
>
>(is there a way to have svn 'remember' the file perms flags?)
>  
>
Yes - for executables.  Set the "svn:executable" property on executable
files.

>  
>
>>I've also noticed that there is no "public/dispatch.scgi".  Any ideas?
>>
>>    
>>
>
>not sure - i may have to do another `rails .` to have it generated.
>
>hth,
>Aslak
>
>  
>
>>Thanks,
>>- Doug
>>
>>
>>
>>
>>    
>>


Re: OS-X: installing DC from the svn trunk

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sorry if my problem is elementary.  I decided to start from scratch.  Here's how it went:

administrators-powerbook58-2:~/damagecontrol dknesek$ svn co http://buildpatterns.com/svn/repos/damagecontrol/trunk/
A    trunk/damagecontrol.yml
...
A    trunk/public/favicon.ico
Checked out revision 12.

administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ chmod +x public/dispatch.fcgi

administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ rake  migrate RAILS_ENV=production
(in /Users/dknesek/damagecontrol/trunk)

administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
/Users/dknesek/damagecontrol_data/log/builder.log
/Users/dknesek/damagecontrol_data/log/scm_poller.log
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': No such file to load -- rscm (MissingSourceFile)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:214:in `require'
        from ./lib/damagecontrol.rb:12
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:214:in `require'
        from ./public/../config/environment.rb:57
        from public/dispatch.fcgi:21:in `require'
        from public/dispatch.fcgi:21

Seems to hang here...so I point my browser to "http://localhost:3000/".  It says "loading..." forever.  So I go back to my console and do a ^C.  ^C does nothing.  I have to kill my ruby and lighttpd processes manually.

Here are my installed gems:

administrators-powerbook58-2:/usr/local/lib/ruby/gems/1.8/gems dknesek$ ls
actionmailer-1.1.5      jabber4r-0.8.0          rubinium-0.1.1
actionpack-1.11.2       log4r-1.0.5             ruby-growl-1.0.0
actionwebservice-1.0.0  meta_project-0.4.13     ruby-growl-1.0.1
activerecord-1.13.2     mysql-2.7               rubygems-update-0.8.11
activesupport-1.2.5     needle-1.2.0            rubyzip-0.5.12
ambient-0.1.0           needle-1.3.0            sources-0.0.1
cmdparse-2.0.0          net-sftp-1.1.0          sqlite-2.0.1
fcgi-0.8.6.1            net-ssh-1.0.5           sqlite3-ruby-1.1.0
ferret-0.3.2            rails-1.0.0             switchtower-0.10.0
gmailer-0.1.0           rake-0.6.2              x10-cm17a-1.0.1
jabber4r-0.7.0          rscm-0.4.0     
      

What am I missing?

- Doug


aslak hellesoy wrote:
On 1/13/06, Doug Knesek doug.knesek@... wrote:
  
First of all - thanks to Aslak, et. al. for DamageControl, and for
responding to the posts on this list yesterday.

I am running OS-X 10.4.4.  I am new to ruby, rails, and lighttpd.

I've checked out DC from the svn trunk (revision 12).  After following
the instructions in the INSTALL file, I get the following:

    

(snip)

  
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb
It seems like the lighttpd.conf is missing, so the one that comes with
rails is used.   So I copied lighttpd.conf from the "scripts" directory
into the "config" directory and tried again.  I get the following:

    

do an svn up (i added edge rails this morning)
then do:

chmod +x public/dispatch.fcgi

and run again.

(is there a way to have svn 'remember' the file perms flags?)

  
I've also noticed that there is no "public/dispatch.scgi".  Any ideas?

    

not sure - i may have to do another `rails .` to have it generated.

hth,
Aslak

  
Thanks,
- Doug




    


Re: OS-X: installing DC from the svn trunk

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>  What am I missing?
>

What is your rubygems version? (gem --version) Make sure it is >= 0.8.11

Instead of running init.rb (which will fork 2 processes), try to start
each of the processes individually (to narrow down the source of the
problem):

ruby init.rb builder
ruby init.rb scm_poller
ruby init.rb server

Which one of them fail to start up?

>  - Doug

Re: OS-X: installing DC from the svn trunk

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

aslak hellesoy wrote:
 What am I missing?

    

What is your rubygems version? (gem --version) Make sure it is >= 0.8.11
  

It is.

Instead of running init.rb (which will fork 2 processes), try to start
each of the processes individually (to narrow down the source of the
problem):

ruby init.rb builder
  
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb builder
/Users/dknesek/damagecontrol_data/log/builder.log

                                                                               
Seems to start up ok.   ^C to stop it.
ruby init.rb scm_poller
  
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb scm_poller
/Users/dknesek/damagecontrol_data/log/scm_poller.log

                                                                               
Seems to start up ok.   ^C to stop it.
ruby init.rb server
  
administrators-powerbook58-2:~/damagecontrol/trunk dknesek$ ruby init.rb server
=> Booting lighttpd (use 'script/server webrick' to force WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach (requires absolute paths in config/lighttpd.conf)
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': No such file to load -- rscm (MissingSourceFile)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:214:in `require'
        from ./lib/damagecontrol.rb:12
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require'
        from /usr/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:214:in `require'
        from ./public/../config/environment.rb:57
        from public/dispatch.fcgi:21:in `require'
        from public/dispatch.fcgi:21


Doesn't look happy.  "No such file to load -- rscm (MissingSourceFile)"
Which one of them fail to start up?

  
 - Doug
    
< Prev | 1 - 2 | Next >