The only difference between rspec and rspec path/to/file is that rspec loads all files matching the default pattern (spec/**/*_spec.rb) where as rspec path/to/file loads only the specified file. I suspect that when you run rspec path/to/file you might not be using bundler to manage and isolate your load path, whereas raw rspec is probably booting rails and loading using bundler. If watir is installed as a system gem but is not in your bundle then this behavior would make sense.
HTH,
Myron
--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+unsubscribe@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/1260462d-af2f-4fc9-9ef3-ef6579fac77f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.