pezra / rspec-mode

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

Add option to run specs inside a Vagrant box #144

Closed kaofelix closed 8 years ago

kaofelix commented 8 years ago

I started working on a rails project that has a vagrant development box configured and instead of trying to configure a local environment to run my specs from emacs on my host machine, I decided to give it a go at implementing vagrant support for rspec-mode. Take a look and see if you like it!

dgutov commented 8 years ago

Good approach, thanks. To be clear, you're editing code in a shared directory using a GUI Emacs, right?

The alternative options are running Emacs within a vagrant ssh session, and connecting to the virtual machine via Tramp.

dgutov commented 8 years ago

When this is merged, please leave a new answer at http://emacs.stackexchange.com/questions/15206/vagrant-integration-in-rspec-mode, if you don't mind.

kaofelix commented 8 years ago

I'm glad you like it. You're right, I'm using GUI Emacs on OS X and was having issues with vagrant-tramp, so I decided to give this a try and ended up being easier than I thought. I'll leave an answer on the Stack Exchange thread.

pezra commented 8 years ago

:+1: I've been wanting this for ages!

dgutov commented 8 years ago

@kaofelix Before we merge it, could you please fix the typo: "your project", not "you're project".

kaofelix commented 8 years ago

Fixed it now! I think you commented about it before, but I totally forgot, thanks for reminding me.

dgutov commented 8 years ago

I did. Thanks! :+1: