[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/inf-ruby f6f9e727f5 2/6: Update README do document 'inf-ru
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/inf-ruby f6f9e727f5 2/6: Update README do document 'inf-ruby-wrapper-command' |
Date: |
Sun, 15 Dec 2024 22:01:49 -0500 (EST) |
branch: elpa/inf-ruby
commit f6f9e727f5baf2e8add1b29982b3df8ca7627774
Author: Hugo Sales <hugo@hsal.es>
Commit: Hugo Sales <hugo@hsal.es>
Update README do document 'inf-ruby-wrapper-command'
---
README.md | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/README.md b/README.md
index 59e11679cf..dc658e4370 100644
--- a/README.md
+++ b/README.md
@@ -93,6 +93,17 @@ A simple IRB process can be fired up with <kbd>M-x
inf-ruby</kbd>.
To launch a REPL with project-specific console instead, type <kbd>M-x
inf-ruby-console-auto</kbd>.
It recognizes several project types, including Rails, gems and anything with
`racksh` in their Gemfile.
+### With docker
+
+To run the project specific console in a Docker (or Podman or other)
container, or in another shell
+or host, set `inf-mode-wrapper-command` which will be used to `format` to the
command for launching
+the console, so it must include `%s`. For instance, one can add the following
to a `.dir-locals.el`
+file at the root of a project:
+
+```lisp
+((ruby-mode . ((inf-ruby-wrapper-command . "docker exec -i container_name
%s"))))
+```
+
### Hooks
When entered, this mode runs `comint-mode-hook` and
`inf-ruby-mode-hook` (in that order).
- [nongnu] elpa/inf-ruby updated (6399a36682 -> d4cff9a323), ELPA Syncer, 2024/12/15
- [nongnu] elpa/inf-ruby f6f9e727f5 2/6: Update README do document 'inf-ruby-wrapper-command',
ELPA Syncer <=
- [nongnu] elpa/inf-ruby 781d677941 4/6: Use call-process-shell-command instead of splitting right after concat, ELPA Syncer, 2024/12/15
- [nongnu] elpa/inf-ruby 22f816a369 5/6: README edits, ELPA Syncer, 2024/12/15
- [nongnu] elpa/inf-ruby d4cff9a323 6/6: Capitalize, ELPA Syncer, 2024/12/15
- [nongnu] elpa/inf-ruby 58568b6f7e 1/6: Add custom variable to specify a wrapper for the determined commands to launch a console, ELPA Syncer, 2024/12/15
- [nongnu] elpa/inf-ruby 7d216e5c8f 3/6: inf-ruby-wrapper-command: Set the default value to nil, ELPA Syncer, 2024/12/15