Forum: Ruby on Rails Continuous_builder question...PLEASE HELP!!!

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B0c7f8c136e7d9f982e12e22c4f15276?d=identicon&s=25 prathap (Guest)
on 2007-06-30 01:38
(Received via mailing list)
Hi,

I am trying to build a simple (at least that is what I thought after
reading Rails Recipes # 46) continuous integration process into my
subversion source repository.

I am working on windows by the way. I can get the post-commit hook to
execute the rake command in the correct build directory when I do a
commit from my working directory. But the problem is I am getting a:

 "system cannot find path specified"

when executing the following in the build directory. This command
gives the same error whether called manually in the build directory or
automatically via the post-commit hook:

>C:\ruby\bin\rake -t test_latest_revision NAME="myapp" RECIPIENTS="kkarthik100@yahoo.com" 
SENDER="kkarthik100@yahoo.com"

What's the problem here? It seems to check out the latest version into
the build directory fine but won't run the unit tests. I think it is
the "test_latest_version" argument above but I can't trace it. In the
log directory inside my application directory which is inside the
build directory, I can see that last_build.log gets created but all it
says is "failed".

However, In the build directory I can simply run:

>C:\ruby\bin\rake

and all my unit tests are run being run without a problem.

Thanks for your help,

Prathap
This topic is locked and can not be replied to.