simplecov icon indicating copy to clipboard operation
simplecov copied to clipboard

Relative vs absolute paths when running with or without bundler

Open jmthomas opened this issue 8 years ago • 2 comments

When I run rspec on the command line for my project (COSMOS the results show relative paths, e.g. lib/cosmos/.. When I run rspec from bundler (bundle exec rspec) the paths are absolute, e.g. C:/COSMOS/lib/cosmos/... This is fine now that I know its happening but was a little surprising since I couldn't find anything about it in the documentation.

jmthomas avatar Jan 12 '17 17:01 jmthomas

Hi there,

Thanks for filing an issue! :) So, what is the desired action here, would you want it to be the same or would you want some documentation about it? Also, seems like you're on Windows I'd need to double check on Linux & friends :)

PragTob avatar Jan 12 '17 22:01 PragTob

I am on Windows and I just expected it to be consistent. I noticed it wasn't merging the results and quickly saw it was because of the different paths. Just wanted to note the issue and how to resolve it in case others were seeing the same thing. Yes, ideally it would be fixed but I understand how open source works and it doesn't bother me enough to try to figure it out myself. :-)

jmthomas avatar Jan 12 '17 23:01 jmthomas