Disclaimer: Pretty new to Emacs and running Spacemacs, have no idea what I'm doing with elisp.
We run all our projects under vagrant, so I'm interested in getting some things, such as inf-ruby-mode consoles, to ssh into my vagrant box before running their commands. In particular, I'm currently looking at the run-ruby function right now.
I decided that aliasing bundle to run under the ssh box would do this, so I made myself an eshell alias, but that doesn't seem to get loaded in comint-mode, which I'm fairly certain is how such commands are run.
Another approach might be to have a comint hook which first SSH's into the box before running another command.
Is this possible? Any other suggestions?
Thanks!
I added the docker tag to this because the workflow can be quite similar, and there's no existing vagrant tag.