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

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

[nongnu] elpa/inf-ruby 870e27f1ee 125/265: Detect pry gem in case to run


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby 870e27f1ee 125/265: Detect pry gem in case to run bundle exec pry.
Date: Sat, 9 Jul 2022 21:59:19 -0400 (EDT)

branch: elpa/inf-ruby
commit 870e27f1eed46ee5d72a1f364add9a6167a876d0
Author: Malyshev Artem <proofit404@gmail.com>
Commit: Malyshev Artem <proofit404@gmail.com>

    Detect pry gem in case to run bundle exec pry.
---
 inf-ruby.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/inf-ruby.el b/inf-ruby.el
index 9f6da521b2..9f4869acd4 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -691,6 +691,8 @@ 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"))
      (t



reply via email to

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