0

I have a vagrant machine for my Rails project. I would like to integrate Emacs with rspec, currently done by hand on a terminal (inside the vagrant machine).

If I run rspec-verify-all Emacs will try to execute rspec from local shared directory (not from Vagrant obviously) and this does not work, as the Rails environment is not set locally on my computer.

So the question: how to run rspec in Vagrant environment?

1

Apparently, the thing to do is to edit the project over TRAMP (not in a shared directory).

Running specs over TRAMP has just been fixed in rspec-mode.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.