You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute M-x eir-eval-in-ruby in a ruby buffer with an inf-ruby mode, it gives the following error.
eir-send-to-repl: Wrong number of arguments: (lambda (command &optional name) "Run an inferior Ruby process, input and output in a new buffer.
The consecutive buffer names will be:
`*NAME*', `*NAME*<2>', `*NAME*<3>' and so on.
NAME defaults to \"ruby\".
Runs the hooks `comint-mode-hook' and `inf-ruby-mode-hook'.
(Type \\[describe-mode] in the process buffer for the list of commands.)" (setq name (or name "ruby")) (let ((commandlist (split-string-and-unquote command)) (buffer (current-buffer)) (process-environment process-environment)) (setenv "PAGER" (executable-find "cat")) (set-buffer (apply (quote make-comint-in-buffer) name (generate-new-buffer-name (format "*%s*" name)) (car commandlist) nil (cdr commandlist))) (inf-ruby-mode) (ruby-remember-ruby-buffer buffer) (setq inf-ruby-buffers (cons (current-buffer) inf-ruby-buffers)) (setq inf-ruby-buffer-impl-name name inf-ruby-buffer-command command)) (pop-to-buffer (setq inf-ruby-buffer (current-buffer)))), 0
However, M-x ruby-send-region works correctly.
Has there been an incompatible update recently?
Sorry to bother, but it would be awesome if you could look into this (I will try to fix this after the new years when I get the time).
The text was updated successfully, but these errors were encountered:
It looks like inf-ruby.el was updated to make run-ruby function to take a required command argument. I updated eval-in-repl (0.9.6) to use the inf-ruby function, which seems to retain the behavior I want.
When I execute
M-x eir-eval-in-ruby
in a ruby buffer with aninf-ruby
mode, it gives the following error.However,
M-x ruby-send-region
works correctly.Has there been an incompatible update recently?
Sorry to bother, but it would be awesome if you could look into this (I will try to fix this after the new years when I get the time).
The text was updated successfully, but these errors were encountered: