branch: elpa/inf-ruby
commit b31b7d3061ebbdd673e590b4720684b2b0e4cc72
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    inf-ruby-console-patterns-alist: Detect Rails by the presence of bin/rails
---
 inf-ruby.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inf-ruby.el b/inf-ruby.el
index 2449d836f4..31f777dc99 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -587,7 +587,7 @@ keymaps to bind `inf-ruby-switch-from-compilation' to `ะก-x 
C-q'."
        'inf-ruby-switch-from-compilation)))
 
 (defvar inf-ruby-console-patterns-alist
-  '(("config/application.rb" . rails)
+  '(("bin/rails" . rails)
     ("*.gemspec" . gem)
     ("Gemfile" . default))
   "Mapping from file name patterns to name symbols.

Reply via email to