pezra / rspec-mode

An RSpec minor mode for Emacs
257 stars 112 forks source link

Optionally default to binstubs #154

Closed bschmeck closed 7 years ago

bschmeck commented 7 years ago

If the new rspec-use-binstubs-always variable is set, default to running specs via bin/rspec.

bschmeck commented 7 years ago

I've been working a lot remotely via TRAMP of late, and unfortunately the (rspec-spring-p) predicate appears to check for a locally running Spring, instead of checking the remote box. This approach is pretty blunt, but it works for me so I thought I'd offer it back upstream.

I don't really know what I'm doing with Emacs Lisp, but I'm happy to try and improve this approach if there are suggestions of what could be better.

dgutov commented 7 years ago

Isn't the common solution to add ./bin/ to $PATH?

bschmeck commented 7 years ago

That's a good point and probably the right solution, however, I haven't been able to properly set the path used by TRAMP.

I should really just figure out how to make that work, and will close this PR.