emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/inf-ruby 9bd6d24aca 202/265: inf-ruby-console-gem: Enable


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 9bd6d24aca 202/265: inf-ruby-console-gem: Enable completion
Date: Sat, 9 Jul 2022 21:59:26 -0400 (EDT)

branch: elpa/inf-ruby
commit 9bd6d24aca9739264883fbd1d12e95493999f5fb
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    inf-ruby-console-gem: Enable completion
    
    Closes #103.
---
 inf-ruby.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index c1d031178c..4fb804ebf3 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -838,7 +838,9 @@ Gemfile, it should use the `gemspec' instruction."
                  (concat " -r " (file-name-sans-extension file)))
                files
                ""))))
-    (inf-ruby-console-run (concat base-command args) "gem")))
+    (inf-ruby-console-run (concat base-command args
+                                  " -r irb/completion")
+                          "gem")))
 
 (defun inf-ruby-console-racksh-p ()
   (and (file-exists-p "Gemfile.lock")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]