[rspec-devel] [ rspec-Bugs-15465 ] Edge rails #8115 changed plugin loading, causing conflic between rspec and rails plugin

noreply at rubyforge.org noreply at rubyforge.org
Thu Nov 8 15:47:07 EST 2007


Bugs item #15465, was opened at 2007-11-08 15:47
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=15465&group_id=797

Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Brandon Keepers (brandon)
Assigned to: Nobody (None)
Summary: Edge rails #8115 changed plugin loading, causing conflic between rspec and rails plugin

Initial Comment:
Rails commit #8115 refactored how plugins are loaded and now adds all  
the vendor/plugins/*/lib directories to the load path before  
initializing all the plugins.

rspec and rspec_on_rails have some conflicting relative paths, so when rspec initializes, the rspec_on_rails version of some files gets loaded.

Attached is a patch that switches to absolute paths for some of the conflicting require statements, and moves spec/matchers and spec/dsl into an extensions/ directory in the rspec_on_rails plugin.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=15465&group_id=797


More information about the rspec-devel mailing list