I have CC set up to monitor a handful of projects, and recently they started
failing silently with the error: "no such file to load -- cc:build" (see
trace below)

The command CC is trying to run is:
/srv/www/cc/projects/cr/work cruise$ ruby -e require 'rubygems' rescue nil;
require 'rake'; load '/srv/www/cc/tasks/cc_build.rake'; ARGV << '--nosearch'
<< 'cc:build'; Rake.application.run

If I paste those commands into a script (newline-delimited) and run it,
there is no exception. However, even when the exception does occur (when CC
is building the project), all the tasks in :cruise seem to run correctly,
and the build is marked as successful..

Google reports that I'm not the first person with this issue, but I haven't
seen any answers to this question yet.

Any thoughts/comments would be appreciated,
Patrick



Exception trace:
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require': no such file to load -- cc:build (MissingSourceFile)

from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
from
/srv/www/cc/projects/cr/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496<https://cruisecontrol.mdlogix.com/projects/code/crms/vendor/rails/activesupport/lib/active_support/dependencies.rb?line=496#496>:in
`require'
from
/srv/www/cc/projects/cr/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:342<https://cruisecontrol.mdlogix.com/projects/code/crms/vendor/rails/activesupport/lib/active_support/dependencies.rb?line=342#342>:in
`new_constants_in'
from
/srv/www/cc/projects/cr/work/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496<https://cruisecontrol.mdlogix.com/projects/code/crms/vendor/rails/activesupport/lib/active_support/dependencies.rb?line=496#496>:in
`require'
from /usr/lib/ruby/1.8/test/unit/collector/dir.rb:83:in `collect_file'
from /usr/lib/ruby/1.8/test/unit/collector/dir.rb:70:in `recursive_collect'
from /usr/lib/ruby/1.8/test/unit/collector/dir.rb:26:in `collect'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:67
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:198:in `[]'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:198:in `run'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:13:in `run'
from /usr/lib/ruby/1.8/test/unit.rb:278
from -e:1
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to