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

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

[nongnu] elpa/inf-ruby b3747e9574 127/265: Merge pull request #59 from p


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby b3747e9574 127/265: Merge pull request #59 from proofit404/master
Date: Sat, 9 Jul 2022 21:59:19 -0400 (EDT)

branch: elpa/inf-ruby
commit b3747e95745e70e5374b833887b6520ed7db3c6f
Merge: 23929579a6 8979f51c53
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>

    Merge pull request #59 from proofit404/master
    
    Improve inf-ruby-console-default command selection
---
 inf-ruby.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 9f6da521b2..c6f7030a33 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -691,8 +691,10 @@ Gemfile, it should use the `gemspec' instruction."
     (cond
      ((inf-ruby-file-contents-match "Gemfile" "[\"']racksh[\"']")
       (run-ruby "bundle exec racksh" "racksh"))
+     ((inf-ruby-file-contents-match "Gemfile" "[\"']pry[\"']")
+      (run-ruby "bundle exec pry" "pry"))
      ((file-exists-p "console.rb")
-      (run-ruby "ruby console.rb" "console.rb"))
+      (run-ruby "bundle exec ruby console.rb" "console.rb"))
      (t
       (run-ruby "bundle console")))))
 



reply via email to

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