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

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

[nongnu] elpa/inf-ruby d51fdaf2ac 218/265: Resolve deprecation warnings


From: ELPA Syncer
Subject: [nongnu] elpa/inf-ruby d51fdaf2ac 218/265: Resolve deprecation warnings on inf-ruby-console-rails
Date: Sat, 9 Jul 2022 21:59:27 -0400 (EDT)

branch: elpa/inf-ruby
commit d51fdaf2ac87c800a7a8d378ebbbce99e4859466
Author: abicky <takeshi.arabiki@gmail.com>
Commit: abicky <takeshi.arabiki@gmail.com>

    Resolve deprecation warnings on inf-ruby-console-rails
    
    This commit resolves deprecation warnings like below:
    
    >DEPRECATION WARNING: Passing the environment's name as
    a regular argument is deprecated and will be removed
    in the next Rails version. Please, use the -e option instead.
    
    cf. https://github.com/rails/rails/pull/29358
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 988330801b..cb10d20626 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -829,7 +829,7 @@ automatically."
          (with-bundler (file-exists-p "Gemfile")))
     (inf-ruby-console-run
      (concat (when with-bundler "bundle exec ")
-             "rails console "
+             "rails console -e "
              env)
      "rails")))
 



reply via email to

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