CC.rb and RSpec

When trying to configure a rspec 1.1.2 based app in CC.rb, I came
across the following:

/home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/vendor/
plugins/rspec_on_rails/lib/spec/rails/…/…/…/…/rspec/lib/spec/
runner/options.rb:218:in files_to_load': File or directory not found: cc:build (RuntimeError) from /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/ vendor/plugins/rspec_on_rails/lib/spec/rails/../../../../rspec/lib/ spec/runner/options.rb:212:ineach’
from /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/
vendor/plugins/rspec_on_rails/lib/spec/rails/…/…/…/…/rspec/lib/
spec/runner/options.rb:212:in files_to_load' from /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/ vendor/plugins/rspec_on_rails/lib/spec/rails/../../../../rspec/lib/ spec/runner/options.rb:83:inrun_examples’
from /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/
vendor/plugins/rspec_on_rails/lib/spec/rails/…/…/…/…/rspec/lib/
spec.rb:20:in `run’
from /home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/
vendor/plugins/rspec_on_rails/lib/spec/rails/…/…/…/…/rspec/lib/
spec.rb:35

I had a solution that would monkey patch over this, but now I’m
looking for some help in actually explaining why this happens. It
looks like rspec is pulling files off the command rake command line.

On Jan 18, 2008, at 2:40 PM, Bryan L. wrote:

When trying to configure a rspec 1.1.2 based app in CC.rb, I came
across the following:

I had a solution that would monkey patch over this, but now I’m
looking for some help in actually explaining why this happens. It
looks like rspec is pulling files off the command rake command line.

I removed the at_exit block from rspec/lib/spec.rb, and life is
happy. What exactly did that thing do again?

On Jan 18, 2008 3:21 PM, Bryan L. [email protected] wrote:

looks like rspec is pulling files off the command rake command line.

I removed the at_exit block from rspec/lib/spec.rb, and life is
happy. What exactly did that thing do again?

http://rspec.lighthouseapp.com/projects/5645-rspec/tickets/242