Hello Michael,

Michael Albinus <[email protected]> writes:
> If it is just because of the PATH setting, I recommend to add
> tramp-own-remote-path to tramp-remote-path, like

Yes, it is only because of the PATH. Adding tramp-own-remote-path to
tramp-remote-path did the trick, thanks!

For the curious, this now enables me to perform administrative actions
in remote Ruby on Rails apps directly in their app-specific console,
with org-babel snippets like these:

#+begin_src ruby :dir /ssh:example.com|sudo:[email protected]:/srv/theapp 
:ruby "bin/rails console"
User.count
#+end_src

#+RESULTS:
: 1234


cheers, Til

Attachment: signature.asc
Description: PGP signature

Reply via email to