--require option on command line clobbers same in .rspec #594

Closed
dchelimsky opened this Issue Apr 2, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@dchelimsky
Member

dchelimsky commented Apr 2, 2012

Given .rspec with --require ./onefile.rb
When I run rspec spec --require ./anotherfile.rb
Then ./anotherfile.rb is requred
But ./onefile.rb is not

The problem is that the collection of requires derived from .rspec is overwritten by those on the command line instead of merged.

@dchelimsky dchelimsky referenced this issue in guard/guard-rspec Apr 2, 2012

Closed

rspec ignores -r, --require PATH option #108

@ghost ghost assigned alindeman Jun 9, 2012

@alindeman alindeman closed this in 9518119 Jun 9, 2012

alindeman added a commit that referenced this issue Jun 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment