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

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

[nongnu] elpa/inf-ruby a5b471efc0 233/265: Update document for support r


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby a5b471efc0 233/265: Update document for support ruby 2.7.1
Date: Sat, 9 Jul 2022 21:59:29 -0400 (EDT)

branch: elpa/inf-ruby
commit a5b471efc0bef2dbe12111fe5b8124d7f6b9ed48
Author: Billy.Zheng <vil963@gmail.com>
Commit: Billy.Zheng <vil963@gmail.com>

    Update document for support ruby 2.7.1
---
 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]