[rspec-users] CC.rb and RSpec

Bryan Liles bryan at osesm.com
Fri Jan 18 14:40:31 EST 2008


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:in `each'
	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:in `run_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.




More information about the rspec-users mailing list