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

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

[nongnu] elpa/inf-ruby 067dcba3b0 234/265: Merge pull request #135 from


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 067dcba3b0 234/265: Merge pull request #135 from zw963/master
Date: Sat, 9 Jul 2022 21:59:29 -0400 (EDT)

branch: elpa/inf-ruby
commit 067dcba3b04ebd51e3f85ab85e24090a3640441c
Merge: 9f0f79ff45 a5b471efc0
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: GitHub <noreply@github.com>

    Merge pull request #135 from zw963/master
    
    Update readme with workaround for ruby 2.7 irb multiline issue
---
 README.md | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 70749f425a..c481e9c974 100644
--- a/README.md
+++ b/README.md
@@ -119,9 +119,20 @@ type <kbd>M-x describe-function [RET] inf-ruby-minor-mode 
[RET]</kbd>.
 
 * The REPL buffer doesn't seem to react to input?
 
-  Try putting `IRB.conf[:USE_READLINE] = false` into your `~/.irbrc`
+  Try putting following code into your `~/.irbrc`.
   (issue [#51](https://github.com/nonsequitur/inf-ruby/issues/51)).
 
+```rb
+  IRB.conf[:USE_READLINE] = false if ENV['INSIDE_EMACS']
+```
+
+  If your's ruby version above 2.7, and above code not working, try putting 
following code into your `~/.irbrc` too.
+(issue [#43](https://github.com/ruby/irb/issues/43#issuecomment-589593889))
+
+```rb
+  IRB.conf[:USE_MULTILINE] = false if ENV['INSIDE_EMACS']
+```
+
 * Pry raises ZeroDivisionError in `lib/pry/pager.rb`?
 
   Put `Pry.config.pager = false if ENV["INSIDE_EMACS"]` into your `~/.pryrc`.



reply via email to

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