Open gcentauri opened 5 years ago
Does the command above (printed to the compilation buffer) exclude the said files when run from the terminal?
It does not. It there's actually a newline there which I didn't realize, so the line with all the rvm info and the --exclude-pattern
option doesn't become part of the command. If I try to smash it all on one line, it says that --exclude-pattern
is an invalid option. If I set it not to use the rake
command, that second line does not show up in the compilation buffer.
So it seems like something with either my Rakefile (which in regard to rspec just sets up the default :spec
task with the exclude pattern set), or maybe something with RVM, or with how the command is being generated by rspec-mode is not working as expected?
The second like is the command that that gets invoked by the first line (by Rake). I think.
I could be doing something wrong here, but I have a set of spec files to be excluded and the
rake spec
task does that for me. Works fine from the terminal. However, when i setrspec-use-rake-when-possible
to non-nil, it doesn't seem to work.I can see it showing up as a cli option in the compilation buffer:
But it hits the example and foo files that are intended to be excluded.