branch: elpa/inf-ruby
commit 8979f51c53776323483e79dfafef46f334fd964c
Author: Malyshev Artem <[email protected]>
Commit: Malyshev Artem <[email protected]>
Start console.rb through bundler.
---
inf-ruby.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inf-ruby.el b/inf-ruby.el
index 9f4869acd4..c6f7030a33 100755
--- a/inf-ruby.el
+++ b/inf-ruby.el
@@ -694,7 +694,7 @@ Gemfile, it should use the `gemspec' instruction."
((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")))))