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

dchelimsky opened this Issue Apr 2, 2012 · 0 comments


None yet
2 participants

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


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